Package org.fugerit.java.core.cfg
Class ConfigRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.fugerit.java.core.lang.ex.CodeRuntimeException
-
- org.fugerit.java.core.cfg.ConfigRuntimeException
-
- All Implemented Interfaces:
Serializable
public class ConfigRuntimeException extends CodeRuntimeException
- 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 ConfigRuntimeException()
ConfigRuntimeException(int code)
ConfigRuntimeException(String message)
ConfigRuntimeException(String message, int code)
ConfigRuntimeException(String message, Throwable cause)
ConfigRuntimeException(String message, Throwable cause, int code)
ConfigRuntimeException(Throwable cause)
ConfigRuntimeException(Throwable cause, int code)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigRuntimeException
convertEx(Exception e)
static ConfigRuntimeException
convertEx(String baseMessage, Exception e)
static ConfigRuntimeException
convertExMethod(String method, Exception e)
static ConfigRuntimeException
stadardExceptionWrapping(Exception e)
-
Methods inherited from class org.fugerit.java.core.lang.ex.CodeRuntimeException
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
-
ConfigRuntimeException
public ConfigRuntimeException()
-
ConfigRuntimeException
public ConfigRuntimeException(int code)
-
ConfigRuntimeException
public ConfigRuntimeException(String message, int code)
-
ConfigRuntimeException
public ConfigRuntimeException(String message)
-
ConfigRuntimeException
public ConfigRuntimeException(Throwable cause, int code)
-
ConfigRuntimeException
public ConfigRuntimeException(Throwable cause)
-
-
Method Detail
-
stadardExceptionWrapping
public static ConfigRuntimeException stadardExceptionWrapping(Exception e) throws ConfigRuntimeException
- Throws:
ConfigRuntimeException
-
convertEx
public static ConfigRuntimeException convertEx(String baseMessage, Exception e)
-
convertExMethod
public static ConfigRuntimeException convertExMethod(String method, Exception e)
-
convertEx
public static ConfigRuntimeException convertEx(Exception e)
-
-