public class NotTrainedException extends Exception
NotTrainedException is thrown if the user tries to use an untrained
model.| Constructor and Description |
|---|
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. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotTrainedException()
NotTrainedException with standard error message
("The model is not trained yet. Please try to train or load before
an invocation of this method.").public NotTrainedException(String message)
NotTrainedException with given error
message.message - the error message