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
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 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