Media Authoring
with Java API

tv.amwa.maj.exception
Class PropertyAlreadyPresentException

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

public class PropertyAlreadyPresentException
extends Exception
implements MAJException

Thrown when an attempt is made to create an optional property for an interchange object when a property with the same definition already exists for that object.

Equivalent C result code: AAFRESULT_PROP_ALREADY_PRESENT 0x801200DE

Author:
Richard Cartwright
See Also:
InterchangeObject.createOptionalPropertyValue(tv.amwa.maj.iface.PropertyDefinition, Object), Serialized Form

Constructor Summary
PropertyAlreadyPresentException()
          Create a new property already present exception with no message.
PropertyAlreadyPresentException(String msg)
          Create a new property already present 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

PropertyAlreadyPresentException

public PropertyAlreadyPresentException(String msg)

Create a new property already present exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

PropertyAlreadyPresentException

public PropertyAlreadyPresentException()

Create a new property already present 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.