com.ibm.portal.resolver.operations.exceptions
Class InvalidOperationContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.resolver.operations.exceptions.OperationException
              extended by com.ibm.portal.resolver.operations.exceptions.CannotCreateOperationException
                  extended by 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

Constructor Summary
InvalidOperationContextException(java.net.URI aURI, OperationFactory aFactory)
          Initializes this exception with the URI of the resource the operation cannot be applied to.
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.
 
Method Summary
protected  java.net.URI getURI()
          Returns the URI of the resource the operation cannot be applied to.
 
Methods inherited from class com.ibm.portal.resolver.operations.exceptions.CannotCreateOperationException
getOperationFactory
 
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
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Constructor Detail

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.
Method Detail

getURI

protected java.net.URI getURI()
Returns the URI of the resource the operation cannot be applied to.