Package fr.gouv.vitam.common.exception
Class VitamThreadAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.gouv.vitam.common.exception.VitamThreadAccessException
- All Implemented Interfaces:
Serializable
Exception used when local thread does not give access to the VitamSession.
- See Also:
-
Constructor Summary
ConstructorDescriptionVitamThreadAccessException
(String message) Basic constructor to indicate a simple error message without stacktraceVitamThreadAccessException
(String message, Throwable throwable) Constructor used to encapsulate a previously thrown exception with but with a custom meaningful messageVitamThreadAccessException
(Throwable throwable) Constructor used to encapsulate a previously thrown exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VitamThreadAccessException
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to log
-
VitamThreadAccessException
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
throwable
- the originating exception
-
VitamThreadAccessException
Constructor used to encapsulate a previously thrown exception with but with a custom meaningful message- Parameters:
message
- the message to log throw threwthrowable
- the originating exception
-