de.jstacs.classifiers
Class ClassDimensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.jstacs.classifiers.ClassDimensionException
All Implemented Interfaces:
Serializable

public class ClassDimensionException
extends Exception

This class indicates that a classifier is defined for less than 2 classes or is defined over a different number of classes than given (e.g. by an array of DataSets).

Author:
Jens Keilwagen
See Also:
Serialized Form

Constructor Summary
ClassDimensionException()
          This constructor creates a ClassDimensionException with the default error message ("The number of classes in the classfier differs from the given number.").
ClassDimensionException(String message)
          This constructor creates a ClassDimensionException with given error 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassDimensionException

public ClassDimensionException()
This constructor creates a ClassDimensionException with the default error message ("The number of classes in the classfier differs from the given number.").


ClassDimensionException

public ClassDimensionException(String message)
This constructor creates a ClassDimensionException with given error message.

Parameters:
message - the error message