Package eliasstar.json.exceptions
Class StateMachineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eliasstar.json.exceptions.JsonException
-
- eliasstar.json.exceptions.StateMachineException
-
- All Implemented Interfaces:
Serializable
public class StateMachineException extends JsonException
The statemachine used to parse the JSON did not finish as expected, which indicates an error in the input JSON.- Since:
- 1.0.0
- Author:
- Elias*
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateMachineException()
StateMachineException(int state)
StateMachineException(int state, String token)
StateMachineException(int state, String token, Throwable cause)
StateMachineException(int state, Throwable cause)
StateMachineException(String token)
StateMachineException(String token, Throwable cause)
StateMachineException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StateMachineException
public StateMachineException()
-
StateMachineException
public StateMachineException(int state)
-
StateMachineException
public StateMachineException(String token)
-
StateMachineException
public StateMachineException(int state, String token)
-
StateMachineException
public StateMachineException(Throwable cause)
-
StateMachineException
public StateMachineException(int state, Throwable cause)
-
-