Package com.skava.accounts.exception
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 Summary
ConstructorsConstructorDescriptionThis method is used to constructs anUnAuthorizedAccessException
object with the specified messageThis method is used to constructs anUnAuthorizedAccessException
object with the specified message and root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnAuthorizedAccessException
This method is used to constructs anUnAuthorizedAccessException
object with the specified message- Parameters:
msg
- Indicates the detail message.
-
UnAuthorizedAccessException
This method is used to constructs anUnAuthorizedAccessException
object with the specified message and root cause.- Parameters:
msg
- Indicates the detail messaget
- root cause. HoldsThrowable
object.
-