Media Authoring
with Java API

tv.amwa.maj.exception
Class PositionOutOfRangeException

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

public class PositionOutOfRangeException
extends RuntimeException
implements MAJException

Thrown when a given position, specified by frame count or timecode, is outside the the length of the referenced stream.

No equivalent C result code could be found.

Author:
Richard Cartwright
See Also:
PositionType, TimecodeStream, RIFFChunk, Serialized Form

Constructor Summary
PositionOutOfRangeException()
          Create a new position out of range exception with no message.
PositionOutOfRangeException(String msg)
          Create a new position out of range 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

PositionOutOfRangeException

public PositionOutOfRangeException(String msg)

Create a new position out of range exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

PositionOutOfRangeException

public PositionOutOfRangeException()

Create a new position out of range 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.