Class ApiApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.jans.configapi.core.model.exception.ApiApplicationException
-
- All Implemented Interfaces:
Serializable
public class ApiApplicationException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiApplicationException(int errorCode, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApiApplicationException
public ApiApplicationException(int errorCode, String message)
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-