Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.polarion.platform.service.repository.RepositoryException
com.polarion.platform.service.repository.ResourceException
com.polarion.platform.service.repository.AccessDeniedException
- All Implemented Interfaces:
Serializable
Raised when access is denied to some resource.
- See Also:
-
Constructor Summary
ConstructorDescriptionAccessDeniedException
(ILocation resource) Exception without message and cause.AccessDeniedException
(ILocation resource, String message) Exception with message and without cause.AccessDeniedException
(ILocation resource, String message, Throwable cause) Exception with message and cause.AccessDeniedException
(ILocation resource, Throwable cause) Exception without message and with cause. -
Method Summary
Methods inherited from class com.polarion.platform.service.repository.ResourceException
getResource
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccessDeniedException
Exception without message and cause.- Parameters:
resource
- resource location (should be absolute if possible)
-
AccessDeniedException
Exception with message and without cause.- Parameters:
resource
- resource location (should be absolute if possible)message
- detail message
-
AccessDeniedException
Exception without message and with cause.- Parameters:
resource
- resource location (should be absolute if possible)cause
- exception cause
-
AccessDeniedException
Exception with message and cause.- Parameters:
resource
- resource location (should be absolute if possible)message
- detail messagecause
- exception cause
-