com.ibm.portal.state.exceptions
Class AccessorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.state.exceptions.StateException
              extended by com.ibm.portal.state.exceptions.AccessorException
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
CannotInstantiateAccessorException, CannotSetTargetException, UnknownAccessorTypeException

public abstract class AccessorException
extends StateException

Base exception which is supposed to be thrown when an accessor factory type cannot be mapped to a corresponding factory implementation class.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  java.lang.Class accessorType
          Classobject of the accessor factory that was unknown
 
Constructor Summary
AccessorException(java.lang.Class aType)
          There is no known implementation for accessors of the given type.
AccessorException(java.lang.Class aType, java.lang.Throwable aReason)
          There is no known implementation for accessors of the given type.
 
Method Summary
 java.lang.Class getAccessorType()
           
 
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
 

Field Detail

accessorType

protected final java.lang.Class accessorType
Classobject of the accessor factory that was unknown

Constructor Detail

AccessorException

public AccessorException(java.lang.Class aType)
There is no known implementation for accessors of the given type.

Parameters:
aType - Classobject of the accessor factory that was unknown

AccessorException

public AccessorException(java.lang.Class aType,
                         java.lang.Throwable aReason)
There is no known implementation for accessors of the given type.

Parameters:
aType - Classobject of the accessor factory that was unknown
aReason - Exception that provides details on the reason of this exception
Method Detail

getAccessorType

public java.lang.Class getAccessorType()
Returns:
Classobject of the accessor factory that was unknown