com.sas.hls.resource.exception
Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sas.hls.common.exception.AbstractCheckedException
              extended by 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

Constructor Summary
ResourceException(String path, String message)
          Constructs a ResourceException with the specified message.
ResourceException(String path, String message, Throwable cause)
          Constructs a ResourceException with the specified message and root cause.
 
Method Summary
 String getPath()
          Returns the String of the resource in question.
 
Methods inherited from class com.sas.hls.common.exception.AbstractCheckedException
getLocalizedMessage, getMessage, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceException

public ResourceException(String path,
                         String message)
Constructs a ResourceException with the specified message.

Parameters:
path - of the resource in question
message - 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 question
message - the detailed message
cause - the root cause for this exception
Method Detail

getPath

public String getPath()
Returns the String of the resource in question.

Returns:
String


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA