Media Authoring
with Java API

tv.amwa.maj.exception
Class AdjacentTransitionException

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

public class AdjacentTransitionException
extends Exception
implements MAJException

Thrown when an operation on a sequence would result in two adjacent transitions within that sequence. This invalidates the constraint that transitions must be preceded and followed by a segment within a sequence.

Equivalent C result code: AAFRESULT_ADJACENT_TRAN 0x80120119

Author:
Richard Cartwright
See Also:
Sequence, Transition, Serialized Form

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

AdjacentTransitionException

public AdjacentTransitionException(String msg)

Create a new adjacent transition exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

AdjacentTransitionException

public AdjacentTransitionException()

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