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
| Constructor and Description |
|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WrongOpenModeException(String msg)
Create a new wrong open mode exception with the given descriptive message.
msg - Message describing the exception.public WrongOpenModeException()
Create a new wrong open mode exception with no message.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.