com.ibm.portal.state.accessors.portlet.exceptions
Class CannotSetTargetException

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
                  extended by com.ibm.portal.state.accessors.portlet.exceptions.CannotSetTargetException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class CannotSetTargetException
extends AccessorException

Exception which is supposed to be thrown in case that a portlet cannot be selected as an action or render target.

Since:
5.1
See Also:
Serialized Form

Field Summary
protected  PortletTargetAccessorController iAccessor
          The target accessor which tried to select the portlet.
protected  ObjectID iPortletWindowID
          The ObjectID of the portlet which cannot be selected as an action or render target.
 
Fields inherited from class com.ibm.portal.state.exceptions.AccessorException
accessorType
 
Constructor Summary
CannotSetTargetException(ObjectID aPortletWindowID, PortletTargetAccessorController aAccessor)
          Initializes this exception.
CannotSetTargetException(ObjectID aPortletWindowID, PortletTargetAccessorController aAccessor, java.lang.Throwable aReason)
          Initializes this exception.
 
Method Summary
 
Methods inherited from class com.ibm.portal.state.exceptions.AccessorException
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

iPortletWindowID

protected final ObjectID iPortletWindowID
The ObjectID of the portlet which cannot be selected as an action or render target.


iAccessor

protected final PortletTargetAccessorController iAccessor
The target accessor which tried to select the portlet.

Constructor Detail

CannotSetTargetException

public CannotSetTargetException(ObjectID aPortletWindowID,
                                PortletTargetAccessorController aAccessor)
Initializes this exception.

Parameters:
aPortletWindowID - The ObjectID of the portlet that cannot be selected as an action or render target.
aAccessor - The portlet target ,accessor which was unable to declare the portet as an action or render target.

CannotSetTargetException

public CannotSetTargetException(ObjectID aPortletWindowID,
                                PortletTargetAccessorController aAccessor,
                                java.lang.Throwable aReason)
Initializes this exception.

Parameters:
aPortletWindowID - The ObjectID of the portlet that cannot be selected as an action or render target.
aAccessor - The portlet target accessor which was unable to declare the portet as an action or render target.
aReason - Exception representing the reason for this exception.