Package org.fugerit.java.core.lang.ex
Class CodeRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.fugerit.java.core.lang.ex.CodeRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigRuntimeException
public class CodeRuntimeException extends RuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CODE
Default value for the code field in a ConfigRuntimeException.
-
Constructor Summary
Constructors Constructor Description CodeRuntimeException()
CodeRuntimeException(int code)
CodeRuntimeException(String message)
CodeRuntimeException(String message, int code)
CodeRuntimeException(String message, Throwable cause)
CodeRuntimeException(String message, Throwable cause, int code)
CodeRuntimeException(Throwable cause)
CodeRuntimeException(Throwable cause, int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
DEFAULT_CODE
public static final int DEFAULT_CODE
Default value for the code field in a ConfigRuntimeException.
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CodeRuntimeException
public CodeRuntimeException()
-
CodeRuntimeException
public CodeRuntimeException(String message)
-
CodeRuntimeException
public CodeRuntimeException(Throwable cause)
-
CodeRuntimeException
public CodeRuntimeException(int code)
-
CodeRuntimeException
public CodeRuntimeException(String message, int code)
-
CodeRuntimeException
public CodeRuntimeException(Throwable cause, int code)
-
-