Package javax.jdo
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:
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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class javax.jdo.JDOException
failed, nested
-
-
Constructor Summary
Constructors Constructor Description JDOReadOnlyException()
Constructs a newJDOReadOnlyException
without a detail message.JDOReadOnlyException(java.lang.String msg)
Constructs a newJDOReadOnlyException
with the specified detail message.JDOReadOnlyException(java.lang.String msg, java.lang.Throwable nested)
Constructs a newJDOReadOnlyException
with the specified detail message and nestedThrowable
s.JDOReadOnlyException(java.lang.String msg, java.lang.Throwable[] nested)
Constructs a newJDOReadOnlyException
with the specified detail message and nestedThrowable
s.
-
Method Summary
-
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JDOReadOnlyException
public JDOReadOnlyException()
Constructs a newJDOReadOnlyException
without a detail message.- Since:
- 2.2
-
JDOReadOnlyException
public JDOReadOnlyException(java.lang.String msg)
Constructs a newJDOReadOnlyException
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 newJDOReadOnlyException
with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.- Since:
- 2.2
-
JDOReadOnlyException
public JDOReadOnlyException(java.lang.String msg, java.lang.Throwable nested)
Constructs a newJDOReadOnlyException
with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.- Since:
- 2.2
-
-