weka.core
Class UnassignedDatasetException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--weka.core.UnassignedDatasetException
All Implemented Interfaces:
java.io.Serializable

public class UnassignedDatasetException
extends java.lang.RuntimeException

UnassignedDatasetException is used when a method of an Instance is called that requires access to the Instance structure, but that the Instance does not contain a reference to any Instances (as set by Instance.setDataset(), or when an Instance is added to a set of Instances)).

Author:
Len Trigg
See Also:
Serialized Form

Constructor Summary
UnassignedDatasetException()
          Creates a new UnassignedDatasetException instance with no detail message.
UnassignedDatasetException(java.lang.String message)
          Creates a new UnassignedDatasetException 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

UnassignedDatasetException

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

UnassignedDatasetException

public UnassignedDatasetException(java.lang.String message)
Creates a new UnassignedDatasetException instance with a specified message.
Parameters:
messagae - a String containing the message.