Media Authoring
with Java API

tv.amwa.maj.exception
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tv.amwa.maj.exception.ObjectNotFoundException
All Implemented Interfaces:
Serializable, MAJException

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

Author:
Richard Cartwright
See Also:
Mob.removeAttribute(tv.amwa.maj.iface.TaggedValue), Serialized Form

Constructor Summary
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.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException(String msg)

Create a new object not found exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

ObjectNotFoundException

public ObjectNotFoundException()

Create a new object not found exception with no message.


Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.