Media Authoring
with Java API

tv.amwa.maj.exception
Class DuplicateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tv.amwa.maj.exception.DuplicateException
All Implemented Interfaces:
Serializable, MAJException, NewForMAJ
Direct Known Subclasses:
DuplicateEssenceKindException, DuplicateMobIDException, DuplicateParameterException

public class DuplicateException
extends RuntimeException
implements MAJException, NewForMAJ

Thrown when an attempt is made to add an element to a set that is already contained in that set.

No equivalent C result code.

Author:
Richard Cartwright
See Also:
TypeDefinitionExtendibleEnumeration, Serialized Form

Constructor Summary
DuplicateException()
          Create a new duplicate exception with no message.
DuplicateException(String msg)
          Create a new duplicate 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

DuplicateException

public DuplicateException(String msg)

Create a new duplicate exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

DuplicateException

public DuplicateException()

Create a new duplicate 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.