Package io.inugami.api.exceptions
Class CheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.inugami.api.exceptions.CheckedException
-
- All Implemented Interfaces:
ExceptionWithErrorCode,Serializable
- Direct Known Subclasses:
TechnicalException
public class CheckedException extends Exception implements ExceptionWithErrorCode
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckedException()CheckedException(int code, String message, Throwable cause)CheckedException(ErrorCode errorCode)CheckedException(ErrorCode errorCode, String message)CheckedException(ErrorCode errorCode, Throwable cause)CheckedException(ErrorCode errorCode, Throwable cause, String message, Object... values)CheckedException(String message)CheckedException(String message, Object... values)CheckedException(String message, Throwable cause)CheckedException(Throwable cause)CheckedException(Throwable cause, String message, Object... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()ErrorCodegetErrorCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCode
public int getCode()
-
getErrorCode
public ErrorCode getErrorCode()
- Specified by:
getErrorCodein interfaceExceptionWithErrorCode
-
-