com.ibm.portal.resolver.exceptions
Class ObjectIDDeletedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.resolver.exceptions.ResolutionException
              extended by com.ibm.portal.resolver.exceptions.EntityNotFoundException
                  extended by com.ibm.portal.resolver.exceptions.EntityDeletedException
                      extended by com.ibm.portal.resolver.exceptions.ResourceDeletedException
                          extended by com.ibm.portal.resolver.exceptions.ObjectIDDeletedException
All Implemented Interfaces:
Identifiable, Localized, LocalizedStatus, Constants, java.io.Serializable

public class ObjectIDDeletedException
extends ResourceDeletedException
implements Identifiable

A resource that can be identified by an objectID has been deleted.

Since:
7.0
See Also:
Serialized Form

Field Summary
protected  ObjectID id
          object ID that could not be found
 
Fields inherited from interface com.ibm.portal.resolver.exceptions.Constants
SC_BAD_REQUEST, SC_GONE, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_REQUEST_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_UNAUTHORIZED
 
Constructor Summary
ObjectIDDeletedException(ObjectID aID)
          Initializes the exception and specifies the objectID of the deleted object
ObjectIDDeletedException(ObjectID aID, java.lang.Throwable th)
          Initializes the exception and specifies the objectID of the deleted object and a reason for the exception
 
Method Summary
protected  java.lang.Object getEntity()
          Returns the failing entity
 ObjectID getObjectID()
          Returns the object ID of the resource that implements the Identifiable interface.
 
Methods inherited from class com.ibm.portal.resolver.exceptions.EntityDeletedException
getStatus, getTitle
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ResolutionException
findLocalized, findLocalizedStatus, getDescription, getLocales, getLocalized, getLocalized, getLocalizedMessage, getLocalizedStatus, getMessage, getTitle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final ObjectID id
object ID that could not be found

Constructor Detail

ObjectIDDeletedException

public ObjectIDDeletedException(ObjectID aID)
Initializes the exception and specifies the objectID of the deleted object

Parameters:
aID - objectID, not null

ObjectIDDeletedException

public ObjectIDDeletedException(ObjectID aID,
                                java.lang.Throwable th)
Initializes the exception and specifies the objectID of the deleted object and a reason for the exception

Parameters:
aID - objectID, not null
th - original exception
Method Detail

getObjectID

public ObjectID getObjectID()
Description copied from interface: Identifiable
Returns the object ID of the resource that implements the Identifiable interface.

Specified by:
getObjectID in interface Identifiable
Returns:
the ObjectID of this resource, this can never be null

getEntity

protected java.lang.Object getEntity()
Description copied from class: EntityNotFoundException
Returns the failing entity

Specified by:
getEntity in class EntityNotFoundException
Returns:
the failed entity