Package de.aristaflow.ilm.util
Class WrappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.ilm.util.IlmException
de.aristaflow.ilm.util.WrappingException
- All Implemented Interfaces:
de.aristaflow.adept2.model.communication.webservice.ReplacingException,de.aristaflow.adept2.model.communication.webservice.StackSuppressingException,Serializable
public class WrappingException
extends IlmException
implements de.aristaflow.adept2.model.communication.webservice.ReplacingException
This class is a generic exception that wraps arbitrary exceptions which are not represented as
subclasses of
IlmException. It stores the class name of the wrapped exception so that the
type information will be kept.- See Also:
-
Field Summary
FieldsFields inherited from class de.aristaflow.ilm.util.IlmException
causeClass, message, serverLogId, subClass, suppressStack -
Constructor Summary
ConstructorsConstructorDescriptionThe constructor required for bean deserialisation.WrappingException(Throwable wrapped) Creates a new exception wrapping the designated throwable and its cause. -
Method Summary
Methods inherited from class de.aristaflow.ilm.util.IlmException
getCause, getIlmStackTrace, getLocalizedMessage, getLogId, getMessage, getStackTrace, setLogId, setStackTrace, setSuppressStackMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
Field Details
-
replacedExceptionClassName
The class name of the wrapped exception.
-
-
Constructor Details
-
WrappingException
public WrappingException()The constructor required for bean deserialisation. -
WrappingException
Creates a new exception wrapping the designated throwable and its cause. Additionally, the class name of the class of the designated wrapped exception will be stored.- Parameters:
wrapped- The throwable which to wrap by the created exception.
-
-
Method Details
-
getReplacedExceptionClassName
- Specified by:
getReplacedExceptionClassNamein interfacede.aristaflow.adept2.model.communication.webservice.ReplacingException
-