weka.core
Class UnassignedClassException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--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()).

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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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.