Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD