public class ObjectNotFoundException extends RuntimeException implements MAJException
Thrown when a given object cannot be found in a collection, such as when a request is made to remove the item from the collection.
Equivalent C result code: AAFRESULT_OBJECT_NOT_FOUND 0x801200D6
| Constructor and Description |
|---|
ObjectNotFoundException()
Create a new object not found exception with no message.
|
ObjectNotFoundException(String msg)
Create a new object not found exception with the given descriptive message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ObjectNotFoundException(String msg)
Create a new object not found exception with the given descriptive message.
msg - Message describing the exception.public ObjectNotFoundException()
Create a new object not found exception with no message.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.