Media Authoring
with Java API

tv.amwa.maj.exception
Class BadTypeException

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

public class BadTypeException
extends RuntimeException
implements MAJException

Thrown when a method call on an object in the meta dictionary passes in the wrong type of property value as a parameter.

Equivalent C result code: AAFRESULT_BAD_TYPE 0x801200CC

Author:
Richard Cartwright
See Also:
TypeDefinitionFixedArray, TypeDefinitionRecord, TypeDefinitionSet, TypeDefinitionStream, TypeDefinitionString, TypeDefinitionVariableArray, Serialized Form

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

BadTypeException

public BadTypeException(String msg)

Create a new bad type exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

BadTypeException

public BadTypeException()

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