javax.jdo
Class JDOReadOnlyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by javax.jdo.JDOReadOnlyException
All Implemented Interfaces:
java.io.Serializable

public class JDOReadOnlyException
extends JDOUserException

This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".

Since:
2.2
Version:
2.2
See Also:
Serialized Form

Constructor Summary
JDOReadOnlyException()
          Constructs a new JDOReadOnlyException without a detail message.
JDOReadOnlyException(java.lang.String msg)
          Constructs a new JDOReadOnlyException with the specified detail message.
JDOReadOnlyException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
JDOReadOnlyException(java.lang.String msg, java.lang.Throwable[] nested)
          Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
 
Method Summary
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDOReadOnlyException

public JDOReadOnlyException()
Constructs a new JDOReadOnlyException without a detail message.

Since:
2.2

JDOReadOnlyException

public JDOReadOnlyException(java.lang.String msg)
Constructs a new JDOReadOnlyException with the specified detail message.

Parameters:
msg - the detail message.
Since:
2.2

JDOReadOnlyException

public JDOReadOnlyException(java.lang.String msg,
                            java.lang.Throwable[] nested)
Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.

Parameters:
msg - the detail message.
nested - the nested Throwable[].
Since:
2.2

JDOReadOnlyException

public JDOReadOnlyException(java.lang.String msg,
                            java.lang.Throwable nested)
Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.

Parameters:
msg - the detail message.
nested - the nested Throwable.
Since:
2.2


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.