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

      • 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 threw
        throwable - the originating exception