2022-07-07 02:15:12 +03:00
|
|
|
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);
|
|
|
|
}
|
2022-07-12 23:27:20 +03:00
|
|
|
|
|
|
|
public NotInitializedException(String message, Exception e) {
|
|
|
|
super(message, e);
|
|
|
|
}
|
|
|
|
|
2022-07-07 02:15:12 +03:00
|
|
|
public NotInitializedException() {
|
2022-07-12 23:27:20 +03:00
|
|
|
super("FSM is not initialized");
|
2022-07-07 02:15:12 +03:00
|
|
|
}
|
|
|
|
}
|