Class JDOReadOnlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
javax.jdo.JDOReadOnlyException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class JDOException
failed, nested -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newJDOReadOnlyExceptionwithout a detail message.Constructs a newJDOReadOnlyExceptionwith the specified detail message.JDOReadOnlyException(String msg, Throwable nested) Constructs a newJDOReadOnlyExceptionwith the specified detail message and nestedThrowables.JDOReadOnlyException(String msg, Throwable[] nested) Constructs a newJDOReadOnlyExceptionwith the specified detail message and nestedThrowables. -
Method Summary
Methods inherited from class JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
Constructor Details
-
JDOReadOnlyException
public JDOReadOnlyException()Constructs a newJDOReadOnlyExceptionwithout a detail message.- Since:
- 2.2
-
JDOReadOnlyException
Constructs a newJDOReadOnlyExceptionwith the specified detail message.- Parameters:
msg- the detail message.- Since:
- 2.2
-
JDOReadOnlyException
-
JDOReadOnlyException
-