Media Authoring
with Java API

tv.amwa.maj.exception
Class BadLengthException

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

public class BadLengthException
extends IllegalArgumentException
implements MAJException

Thrown when an out of range length value is set for a component or fade in the current context.

Equivalent C result code: AAFRESULT_BAD_LENGTH 0x801200FC

Author:
Richard Cartwright
See Also:
Component, Fade, Serialized Form

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

BadLengthException

public BadLengthException(String msg)

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

Parameters:
msg - Message describing the exception.

BadLengthException

public BadLengthException()

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