Class 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 stacktrace
      AccessUnauthorizedException​(java.lang.String message, java.lang.Throwable throwable)
      Constructor used to encapsulate a previously thrown exception with but with a custom meaningful message
      AccessUnauthorizedException​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 threw
        throwable - the originating exception