Package fr.gouv.vitam.common.exception
Class AccessUnauthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fr.gouv.vitam.common.exception.VitamException
-
- fr.gouv.vitam.common.exception.VitamClientException
-
- fr.gouv.vitam.common.exception.AccessUnauthorizedException
-
- All Implemented Interfaces:
java.io.Serializable
public class AccessUnauthorizedException extends VitamClientException
Exception used when contract does not give access to the Vitam- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessUnauthorizedException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktraceAccessUnauthorizedException(java.lang.String message, java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception with but with a custom meaningful messageAccessUnauthorizedException(java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception.
-
Method Summary
-
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
-
-
-
-
Constructor Detail
-
AccessUnauthorizedException
public AccessUnauthorizedException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to log
-
AccessUnauthorizedException
public AccessUnauthorizedException(java.lang.Throwable throwable)
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
throwable
- the originating exception
-
AccessUnauthorizedException
public AccessUnauthorizedException(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
-
-