com.ibm.portal.resolver.operations.exceptions
Class InvalidOperationContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.resolver.operations.exceptions.OperationException
com.ibm.portal.resolver.operations.exceptions.CannotCreateOperationException
com.ibm.portal.resolver.operations.exceptions.InvalidOperationContextException
- All Implemented Interfaces:
- Localized, java.io.Serializable
public abstract class InvalidOperationContextException
- extends CannotCreateOperationException
Abstract base exception for the case that an operation could not be created
due to an invalid context.
- Since:
- 8.0
- See Also:
- Serialized Form
Method Summary |
protected java.net.URI |
getURI()
Returns the URI of the resource the operation cannot be applied to. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidOperationContextException
public InvalidOperationContextException(java.net.URI aURI,
OperationFactory aFactory)
- Initializes this exception with the URI of the resource the operation
cannot be applied to.
- Parameters:
aURI
- URI of the resource the operation cannot be applied to. Must
not be null
.aFactory
- The operation factory which could not create the operation.
Must not be null
.
InvalidOperationContextException
public InvalidOperationContextException(java.net.URI aURI,
OperationFactory aFactory,
java.lang.Throwable aReason)
- Initializes this exception with the URI of the resource the operation
cannot be applied to.
- Parameters:
aURI
- URI of the resource the operation cannot be applied to. Must
not be null
.aFactory
- The operation factory which could not create the operation.
Must not be null
.aReason
- The root cause of this exception. Must not be
null
.
getURI
protected java.net.URI getURI()
- Returns the URI of the resource the operation cannot be applied to.