Package com.walkfares.odsl.exception
Class OpenDSLRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.walkfares.odsl.exception.OpenDSLRuntimeException
- All Implemented Interfaces:
Serializable
public class OpenDSLRuntimeException extends RuntimeException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OpenDSLRuntimeException(ErrorCode error, Object... args)
OpenDSLRuntimeException(ErrorCode error, Throwable cause, Object... args)
-
Method Summary
Modifier and Type Method Description int
getCode()
int
getStatuscode()
org.antlr.v4.runtime.Token
getToken()
void
setCode(int code)
void
setStatuscode(int statuscode)
OpenDSLRuntimeException
setToken(org.antlr.v4.runtime.Token token)
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getCode
public int getCode() -
setCode
public void setCode(int code) -
getStatuscode
public int getStatuscode() -
setStatuscode
public void setStatuscode(int statuscode) -
getToken
public org.antlr.v4.runtime.Token getToken() -
setToken
-