com.sas.hls.resource.exception
Class ResourceIllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sas.hls.common.exception.AbstractRuntimeException
                  extended by com.sas.hls.resource.exception.ResourceIllegalStateException
All Implemented Interfaces:
Serializable

public class ResourceIllegalStateException
extends AbstractRuntimeException

The resource being manipulated is in (or would be put into) an incorrect state were this operation to proceed.

See Also:
Serialized Form

Constructor Summary
ResourceIllegalStateException(String path, String message)
          Constructs a ResourceIllegalStateException with the specified message.
 
Method Summary
 String getPath()
          Path of the resource that is (or would be put in) an illegal state with this operation.
 
Methods inherited from class com.sas.hls.common.exception.AbstractRuntimeException
contains, getLocalizedMessage, getMessage, getMostSpecificCause, getRootCause, setLocalizedMessage
 
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

ResourceIllegalStateException

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

Parameters:
path - of the resource in question
message - the detailed message
Method Detail

getPath

public String getPath()
Path of the resource that is (or would be put in) an illegal state with this operation.

Returns:
String


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