Class InvalidContextException
Object
Throwable
Exception
RuntimeException
BaseRuntimeException
MultilevelRuntimeException
InvocationRuntimeException
InvalidContextException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidContextException
(ErrorDetail detail, Throwable cause) InvalidContextException
(String code, String message, Token mainToken) -
Method Summary
Modifier and TypeMethodDescriptionToken
void
setMainToken
(Token mainToken) translate
(Token token) Methods inherited from class InvocationRuntimeException
getSubject, setSubject
Methods inherited from class MultilevelRuntimeException
getLevel, isHighLevel, isLowLevel
Methods inherited from class BaseRuntimeException
fillInStackTrace, getCode, setCode
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidContextException
-
InvalidContextException
-
-
Method Details
-
translate
- Overrides:
translate
in classInvocationRuntimeException
-
getMainToken
public Token getMainToken() -
setMainToken
public void setMainToken(Token mainToken)
-