com.ibm.portal.state.accessors.exceptions
Class SelectionAccessorException

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.accessors.exceptions.SelectionAccessorException
All Implemented Interfaces:
Localized, java.io.Serializable
Direct Known Subclasses:
CannotModifySelectionException, InvalidSelectionNodeIdException, MissingSelectionException, SelectionMappingInvalidException

public abstract class SelectionAccessorException
extends StateException

Exception which should be thrown in case of errors when accessing selection information via a SelectionAccessor.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  SelectionAccessor accessor
          Selection accessor that caused the exception
 
Constructor Summary
SelectionAccessorException(SelectionAccessor aAccessor)
          Initializes the exception with the accessor that caused the exception
SelectionAccessorException(SelectionAccessor aAccessor, java.lang.Exception aReason)
          Initializes the exception with the accessor that caused the exception.
 
Method Summary
 
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

accessor

protected final SelectionAccessor accessor
Selection accessor that caused the exception

Constructor Detail

SelectionAccessorException

public SelectionAccessorException(SelectionAccessor aAccessor)
Initializes the exception with the accessor that caused the exception

Parameters:
aAccessor - Selection accessor that caused the exception

SelectionAccessorException

public SelectionAccessorException(SelectionAccessor aAccessor,
                                  java.lang.Exception aReason)
Initializes the exception with the accessor that caused the exception.

Parameters:
aAccessor - Accessor that caused the exception
aReason - Exception that gives details on the reason