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:
java.io.Serializable
public class VitamThreadAccessException extends java.lang.RuntimeException
Exception used when local thread does not give access to the VitamSession.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VitamThreadAccessException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktraceVitamThreadAccessException(java.lang.String message, java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception with but with a custom meaningful messageVitamThreadAccessException(java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception.
-
-
-
Constructor Detail
-
VitamThreadAccessException
public VitamThreadAccessException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to log
-
VitamThreadAccessException
public VitamThreadAccessException(java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
throwable
- the originating exception
-
VitamThreadAccessException
public VitamThreadAccessException(java.lang.String message, java.lang.Throwable throwable)
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
-
-