com.sas.hls.resource.exception
Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.hls.common.exception.AbstractCheckedException
com.sas.hls.resource.exception.ResourceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AlreadyCheckedoutException, RepositoryResourceCheckinException, RepositoryResourceCheckoutException, RepositoryResourceLockException, RepositoryResourceUndoCheckoutException, RepositoryResourceUnlockException, RepositoryResourceVersioningException, ResourceDeleteException, ResourceExistsException, ResourceNotFoundException, ResourceRenameException
public abstract class ResourceException
- extends AbstractCheckedException
Abstract parent class for exceptions thrown while manipulating or accessing a resource.
- See Also:
- Serialized Form
Method Summary |
String |
getPath()
Returns the String of the resource in question. |
ResourceException
public ResourceException(String path,
String message)
- Constructs a
ResourceException
with the specified message.
- Parameters:
path
- of the resource in questionmessage
- the detailed message
ResourceException
public ResourceException(String path,
String message,
Throwable cause)
- Constructs a
ResourceException
with the specified message and root cause.
- Parameters:
path
- of resource in questionmessage
- the detailed messagecause
- the root cause for this exception
getPath
public String getPath()
- Returns the String of the resource in question.
- Returns:
- String
Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA