Class DocFeatureRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fugerit.java.core.lang.ex.CodeRuntimeException
org.fugerit.java.doc.base.feature.DocFeatureRuntimeException
- All Implemented Interfaces:
Serializable,org.fugerit.java.core.lang.ex.CodeEx
public class DocFeatureRuntimeException
extends org.fugerit.java.core.lang.ex.CodeRuntimeException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value for the code field in a DocFeatureRuntimeException. -
Constructor Summary
ConstructorsConstructorDescriptionDocFeatureRuntimeException(String message, int code, List<String> messages) DocFeatureRuntimeException(String message, Throwable cause, int code) DocFeatureRuntimeException(String message, Throwable cause, int code, List<String> messages) -
Method Summary
Modifier and TypeMethodDescriptionstatic DocFeatureRuntimeExceptionstatic DocFeatureRuntimeExceptionstatic DocFeatureRuntimeExceptionconvertExMethod(String method, Exception e) static RuntimeExceptionConvert the exception to DocFeatureRuntimeException RuntimeException are left unchangedstatic RuntimeExceptionconvertToRuntimeEx(String baseMessage, Exception e) Convert the exception to DocFeatureRuntimeException RuntimeException are left unchangedstatic DocFeatureRuntimeExceptionMethods inherited from class org.fugerit.java.core.lang.ex.CodeRuntimeException
getCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.fugerit.java.core.lang.ex.CodeEx
getCause, getMessage
-
Field Details
-
DEFAULT_CODE
public static final int DEFAULT_CODEDefault value for the code field in a DocFeatureRuntimeException.
- See Also:
-
-
Constructor Details
-
DocFeatureRuntimeException
-
DocFeatureRuntimeException
-
DocFeatureRuntimeException
-
-
Method Details
-
standardExceptionWrapping
public static DocFeatureRuntimeException standardExceptionWrapping(Exception e) throws DocFeatureRuntimeException - Throws:
DocFeatureRuntimeException
-
convertEx
-
convertExMethod
-
convertEx
-
convertToRuntimeEx
Convert the exception to DocFeatureRuntimeException RuntimeException are left unchanged- Parameters:
baseMessage- the base messagee- the exception- Returns:
- the runtime exception
-
convertToRuntimeEx
Convert the exception to DocFeatureRuntimeException RuntimeException are left unchanged- Parameters:
e- the exception- Returns:
- the runtime exception
-
getMessages
-