19 lines
433 B
Java
19 lines
433 B
Java
package me.bvn13.fsm.exceptions;
|
|
|
|
/**
|
|
* is thrown in case of using FSM before being initialized
|
|
*/
|
|
public class NotInitializedException extends FsmException {
|
|
public NotInitializedException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public NotInitializedException(String message, Exception e) {
|
|
super(message, e);
|
|
}
|
|
|
|
public NotInitializedException() {
|
|
super("FSM is not initialized");
|
|
}
|
|
}
|