Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.polarion.platform.service.repository.RepositoryException
com.polarion.platform.service.repository.ResourceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException
,UnknownResourceException
Raised when resource was not found.
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Constructor Summary
ConstructorDescriptionResourceException
(ILocation resource) Exception without message and cause.ResourceException
(ILocation resource, String message) Exception with message and without cause.ResourceException
(ILocation resource, String message, Throwable cause) Exception with message and cause.ResourceException
(ILocation resource, Throwable cause) Exception without message and with 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
-
ResourceException
Exception without message and cause.- Parameters:
resource
- resource location (should be absolute if possible)
-
ResourceException
Exception with message and without cause.- Parameters:
resource
- resource location (should be absolute if possible)message
- detail message
-
ResourceException
Exception without message and with cause.- Parameters:
resource
- resource location (should be absolute if possible)cause
- exception cause
-
ResourceException
Exception with message and cause.- Parameters:
resource
- resource location (should be absolute if possible)message
- detail messagecause
- exception cause
-
-
Method Details
-
getResource
Return resource in question.- Returns:
- resource location
-