org.odmg
Class DatabaseIsReadOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.odmg.ODMGRuntimeException
                  extended by org.odmg.DatabaseIsReadOnlyException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseIsReadOnlyException
extends ODMGRuntimeException

This exception is thrown when a call has been made that modifies a database that is open in read-only mode.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Database, ODMGRuntimeException, Serialized Form

Constructor Summary
DatabaseIsReadOnlyException()
          Construct an instance of the exception without a message.
DatabaseIsReadOnlyException(java.lang.String msg)
          Construct an instance of the exception with a 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

DatabaseIsReadOnlyException

public DatabaseIsReadOnlyException()
Construct an instance of the exception without a message.


DatabaseIsReadOnlyException

public DatabaseIsReadOnlyException(java.lang.String msg)
Construct an instance of the exception with a descriptive message.

Parameters:
msg - A message indicating why the exception occurred.


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30