Package org.datanucleus.exceptions
Class NucleusCanRetryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusCanRetryException
- All Implemented Interfaces:
Serializable
Exception thrown when a retriable error occurs.
- See Also:
-
Field Summary
FieldsFields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception without a detail message.Constructs a new exception with the specified detail message.NucleusCanRetryException
(String msg, Object failed) Constructs a new exception with the specified detail message and failed object.NucleusCanRetryException
(String msg, Throwable nested) Constructs a new exception with the specified detail message and nestedThrowable
.NucleusCanRetryException
(String msg, Throwable[] nested) Constructs a new exception with the specified detail message and nestedThrowable
s.NucleusCanRetryException
(String msg, Throwable[] nested, Object failed) Constructs a new exception with the specified detail message, nestedThrowable
s, and failed object.NucleusCanRetryException
(String msg, Throwable nested, Object failed) Constructs a new exception with the specified detail message, nestedThrowable
, and failed object. -
Method Summary
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NucleusCanRetryException
public NucleusCanRetryException()Constructs a new exception without a detail message. -
NucleusCanRetryException
Constructs a new exception with the specified detail message.- Parameters:
msg
- the detail message.
-
NucleusCanRetryException
Constructs a new exception with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
NucleusCanRetryException
Constructs a new exception with the specified detail message and nestedThrowable
.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.
-
NucleusCanRetryException
Constructs a new exception with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
NucleusCanRetryException
Constructs a new exception with the specified detail message, nestedThrowable
s, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.failed
- the failed object.
-
NucleusCanRetryException
Constructs a new exception with the specified detail message, nestedThrowable
, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.failed
- the failed object.
-