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(URI uri, String message)
          Constructs a ResourceIllegalStateException with the specified message.
 
Method Summary
 URI getUri()
          URI 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(URI uri,
                                     String message)
Constructs a ResourceIllegalStateException with the specified message.

Parameters:
uri - the resource in question
message - the detailed message
Method Detail

getUri

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

Returns:
URI


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