com.ibm.portal.resolver.exceptions
Class ObjectIDNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.resolver.exceptions.ResolutionException
com.ibm.portal.resolver.exceptions.EntityNotFoundException
com.ibm.portal.resolver.exceptions.ResourceNotFoundException
com.ibm.portal.resolver.exceptions.ObjectIDNotFoundException
- All Implemented Interfaces:
- Identifiable, Localized, LocalizedStatus, Constants, java.io.Serializable
public class ObjectIDNotFoundException
- extends ResourceNotFoundException
- implements Identifiable
An objectID could not be located
- Since:
- 7.0
- See Also:
- Serialized Form
Field Summary |
protected ObjectID |
id
object ID that could not be found |
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 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 |
id
protected final ObjectID id
- object ID that could not be found
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
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