Media Authoring
with Java API

tv.amwa.maj.exception
Class WrongOpenModeException

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

public class WrongOpenModeException
extends Exception
implements MAJException

Thrown when an attempt is made to save data to a file that was not opened for writing or other modification.

Equivalent C result code: AAFRESULT_WRONG_OPENMODE 0x8012001F

Author:
Richard Cartwright
See Also:
Serialized Form

Constructor Summary
WrongOpenModeException()
          Create a new wrong open mode exception with no message.
WrongOpenModeException(String msg)
          Create a new wrong open mode 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

WrongOpenModeException

public WrongOpenModeException(String msg)

Create a new wrong open mode exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

WrongOpenModeException

public WrongOpenModeException()

Create a new wrong open mode 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.