weka.core
Class UnassignedClassException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by weka.core.UnassignedClassException
All Implemented Interfaces:
java.io.Serializable

public class UnassignedClassException
extends java.lang.RuntimeException

UnassignedClassException is used when a method requires access to the Attribute designated as the class attribute in a set of Instances, but the Instances does not have any class attribute assigned (such as by setClassIndex()).

Version:
$Revision: 1.1 $
Author:
Len Trigg
See Also:
Serialized Form

Constructor Summary
UnassignedClassException()
          Creates a new UnassignedClassException instance with no detail message.
UnassignedClassException(java.lang.String message)
          Creates a new UnassignedClassException instance with a specified message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnassignedClassException

public UnassignedClassException()
Creates a new UnassignedClassException instance with no detail message.


UnassignedClassException

public UnassignedClassException(java.lang.String message)
Creates a new UnassignedClassException instance with a specified message.

Parameters:
messagae - a String containing the message.