Package javax.jdo
Class JDODetachedFieldAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.jdo.JDOException
-
- javax.jdo.JDOCanRetryException
-
- javax.jdo.JDOUserException
-
- javax.jdo.JDODetachedFieldAccessException
-
- All Implemented Interfaces:
Serializable
public class JDODetachedFieldAccessException extends JDOUserException
This class represents exceptions caused by access of an unloaded field while the instance is detached.- Since:
- 2.0
- Version:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDODetachedFieldAccessException()
Constructs a newJDODetachedFieldAccessException
without a detail message.JDODetachedFieldAccessException(String msg)
Constructs a newJDODetachedFieldAccessException
with the specified detail message.JDODetachedFieldAccessException(String msg, Object failed)
Constructs a newJDODetachedFieldAccessException
with the specified detail message and failed object.JDODetachedFieldAccessException(String msg, Throwable nested)
Constructs a newJDODetachedFieldAccessException
with the specified detail message and nestedThrowable
s.JDODetachedFieldAccessException(String msg, Throwable[] nested)
Constructs a newJDODetachedFieldAccessException
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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
-
-
-
Constructor Detail
-
JDODetachedFieldAccessException
public JDODetachedFieldAccessException()
Constructs a newJDODetachedFieldAccessException
without a detail message.- Since:
- 2.0
-
JDODetachedFieldAccessException
public JDODetachedFieldAccessException(String msg)
Constructs a newJDODetachedFieldAccessException
with the specified detail message.- Parameters:
msg
- the detail message.- Since:
- 2.0
-
JDODetachedFieldAccessException
public JDODetachedFieldAccessException(String msg, Object failed)
Constructs a newJDODetachedFieldAccessException
with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
JDODetachedFieldAccessException
public JDODetachedFieldAccessException(String msg, Throwable[] nested)
Constructs a newJDODetachedFieldAccessException
with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.- Since:
- 2.0
-
-