de.jstacs
Class NotTrainedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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 message ("The model is not trained yet. |
NotTrainedException(String message)
Creates a new NotTrainedException with your own message . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotTrainedException
public NotTrainedException()
- Creates a new NotTrainedException with standard 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 your own
message
.
- Parameters:
message
- the message