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

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
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
InvalidOperationContextException

public abstract class CannotCreateOperationException
extends OperationException

Abstract base class for exceptions occuring inside of operation factories. This exception should be thrown if an operation could not be created due to an internal exception.

Since:
8.0
See Also:
Serialized Form

Constructor Summary
protected CannotCreateOperationException(OperationFactory aFactory)
          Initializes this exception with the operation factory in which the error occured.
  CannotCreateOperationException(OperationFactory aFactory, java.lang.Throwable aReason)
          Initializes this exception with the operation factory in which the error occured.
 
Method Summary
protected  OperationFactory getOperationFactory()
          Returns the operation factory in which the error occured.
 
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

CannotCreateOperationException

public CannotCreateOperationException(OperationFactory aFactory,
                                      java.lang.Throwable aReason)
Initializes this exception with the operation factory in which the error occured.

Parameters:
aFactory - The operation factory. Must not be null.
aReason - The root cause of this exception. Must not be null.

CannotCreateOperationException

protected CannotCreateOperationException(OperationFactory aFactory)
Initializes this exception with the operation factory in which the error occured.

Parameters:
aFactory - The operation factory. Must not be null.
Method Detail

getOperationFactory

protected OperationFactory getOperationFactory()
Returns the operation factory in which the error occured.