de.jstacs
Class NotTrainedException

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

public class NotTrainedException
extends Exception

A NotTrainedException is thrown if the user tries to use an untrained model.

Author:
Stefan Haufe, Jens Keilwagen
See Also:
Serialized Form

Constructor Summary
NotTrainedException()
          Creates a new NotTrainedException with standard error message ("The model is not trained yet.
NotTrainedException(String message)
          Creates a new NotTrainedException 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

NotTrainedException

public NotTrainedException()
Creates a new NotTrainedException with standard error message ("The model is not trained yet. Please try to train or load before an invocation of this method.").


NotTrainedException

public NotTrainedException(String message)
Creates a new NotTrainedException with given error message.

Parameters:
message - the error message