Class UnAuthorizedAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.access.AccessDeniedException
com.skava.accounts.exception.UnAuthorizedAccessException
All Implemented Interfaces:
Serializable

public class UnAuthorizedAccessException extends org.springframework.security.access.AccessDeniedException
This class act as a exception for unauthorized access of the user.
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • UnAuthorizedAccessException

      public UnAuthorizedAccessException(String msg)
      This method is used to constructs an UnAuthorizedAccessException object with the specified message
      Parameters:
      msg - Indicates the detail message.
    • UnAuthorizedAccessException

      public UnAuthorizedAccessException(String msg, Throwable t)
      This method is used to constructs an UnAuthorizedAccessException object with the specified message and root cause.
      Parameters:
      msg - Indicates the detail message
      t - root cause. Holds Throwable object.