Media Authoring
with Java API

tv.amwa.maj.exception
Class BadSizeException

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

public class BadSizeException
extends RuntimeException
implements MAJException

Thrown when an array is not of the required number of elements.

Equivalent C result code: AAFRESULT_BAD_SIZE 0x80120200

Author:
Richard Cartwright
See Also:
AES3PCMDescriptor, Serialized Form

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

BadSizeException

public BadSizeException(String msg)

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

Parameters:
msg - Message describing the exception.

BadSizeException

public BadSizeException()

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