Media Authoring
with Java API

tv.amwa.maj.exception
Class SegmentNotFoundException

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

public class SegmentNotFoundException
extends RuntimeException
implements MAJException

Thrown when a given segment cannot be found within the segments of a selector.

Equivalent C result code: AAFRESULT_SEGMENT_NOT_FOUND 0x80120128

Author:
Richard Cartwright
See Also:
Selector, Serialized Form

Constructor Summary
SegmentNotFoundException()
          Create a new segment not found exception with no message.
SegmentNotFoundException(String msg)
          Create a new segment not found 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

SegmentNotFoundException

public SegmentNotFoundException(String msg)

Create a new segment not found exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

SegmentNotFoundException

public SegmentNotFoundException()

Create a new segment not found 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.