Class AccessDeniedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AccessDeniedException
    extends java.lang.Exception

    Thrown by the security authority implementations if the credentials supplied are not correct or another error occurs as a result of user parameters.

    Author:
    Quickstone Technologies Limited
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a printable string describing the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AccessDeniedException

        public AccessDeniedException​(SecurityAuthority auth,
                                     java.lang.String reason)
        Creates a new exeception.
        Parameters:
        auth - the authority raising the exception.
        reason - the reason the exception was raised.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a printable string describing the exception.
        Overrides:
        toString in class java.lang.Throwable