Package javax.jdo
Class JDOUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.jdo.JDOException
-
- javax.jdo.JDOCanRetryException
-
- javax.jdo.JDOUserException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JDODetachedFieldAccessException
,JDONullIdentityException
,JDOQueryInterruptedException
,JDOReadOnlyException
,JDOUnsupportedOptionException
,JDOUserCallbackException
public class JDOUserException extends JDOCanRetryException
This class represents user errors that can possibly be retried.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDOUserException()
Constructs a newJDOUserException
without a detail message.JDOUserException(String msg)
Constructs a newJDOUserException
with the specified detail message.JDOUserException(String msg, Object failed)
Constructs a newJDOUserException
with the specified detail message and failed object.JDOUserException(String msg, Throwable nested)
Constructs a newJDOUserException
with the specified detail message and nestedThrowable
s.JDOUserException(String msg, Throwable[] nested)
Constructs a newJDOUserException
with the specified detail message and nestedThrowable
s.JDOUserException(String msg, Throwable[] nested, Object failed)
Constructs a newJDOUserException
with the specified detail message, nestedThrowable
s, and failed object.JDOUserException(String msg, Throwable nested, Object failed)
Constructs a newJDOUserException
with the specified detail message, nestedThrowable
s, and failed object.
-
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
-
JDOUserException
public JDOUserException()
Constructs a newJDOUserException
without a detail message.
-
JDOUserException
public JDOUserException(String msg)
Constructs a newJDOUserException
with the specified detail message.- Parameters:
msg
- the detail message.
-
JDOUserException
public JDOUserException(String msg, Throwable[] nested)
Constructs a newJDOUserException
with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
JDOUserException
public JDOUserException(String msg, Throwable nested)
Constructs a newJDOUserException
with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.
-
JDOUserException
public JDOUserException(String msg, Object failed)
Constructs a newJDOUserException
with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
JDOUserException
public JDOUserException(String msg, Throwable[] nested, Object failed)
Constructs a newJDOUserException
with the specified detail message, nestedThrowable
s, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.failed
- the failed object.
-
-