com.ibm.portal.resolver.exceptions
Class ObjectIDNotFoundException

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.ResourceNotFoundException
                      extended by com.ibm.portal.resolver.exceptions.ObjectIDNotFoundException
All Implemented Interfaces:
Identifiable, Localized, LocalizedStatus, java.io.Serializable

public class ObjectIDNotFoundException
extends ResourceNotFoundException
implements Identifiable

An objectID could not be located

See Also:
Serialized Form

Field Summary
protected  ObjectID id
          object ID that could not be found
 
Constructor Summary
ObjectIDNotFoundException(ObjectID aID)
          Initializes the exception and specifies the objectID of the missing object
ObjectIDNotFoundException(ObjectID aID, java.lang.Throwable th)
          Initializes the exception and specifies the objectID of the missing 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.EntityNotFoundException
getStatus, getTitle
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ResolutionException
getDescription, getLocales, 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

ObjectIDNotFoundException

public ObjectIDNotFoundException(ObjectID aID)
Initializes the exception and specifies the objectID of the missing object

Parameters:
aID - objectID, not null

ObjectIDNotFoundException

public ObjectIDNotFoundException(ObjectID aID,
                                 java.lang.Throwable th)
Initializes the exception and specifies the objectID of the missing 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