Media Authoring
with Java API

tv.amwa.maj.exception
Class BadSampleOffsetException

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

public class BadSampleOffsetException
extends RuntimeException
implements MAJException

Thrown when an offset into a segment or some file-based essence, specified by timecode or frames, is out of range.

Equivalent C result code: AAFRESULT_BADSAMPLEOFFSET 0x8012006A

Author:
Richard Cartwright
See Also:
Serialized Form

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

BadSampleOffsetException

public BadSampleOffsetException(String msg)

Create a new bad sample offset exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

BadSampleOffsetException

public BadSampleOffsetException()

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