org.datanucleus.exceptions
Class NucleusCanRetryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusCanRetryException
All Implemented Interfaces:
Serializable

public class NucleusCanRetryException
extends NucleusException

Exception thrown when a retriable error occurs.

See Also:
Serialized Form

Constructor Summary
NucleusCanRetryException()
          Constructs a new exception without a detail message.
NucleusCanRetryException(String msg)
          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 nested Throwable.
NucleusCanRetryException(String msg, Throwable[] nested)
          Constructs a new exception with the specified detail message and nested Throwables.
NucleusCanRetryException(String msg, Throwable[] nested, Object failed)
          Constructs a new exception with the specified detail message, nested Throwables, and failed object.
NucleusCanRetryException(String msg, Throwable nested, Object failed)
          Constructs a new exception with the specified detail message, nested Throwable, 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
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NucleusCanRetryException

public NucleusCanRetryException()
Constructs a new exception without a detail message.


NucleusCanRetryException

public NucleusCanRetryException(String msg)
Constructs a new exception with the specified detail message.

Parameters:
msg - the detail message.

NucleusCanRetryException

public NucleusCanRetryException(String msg,
                                Throwable[] nested)
Constructs a new exception with the specified detail message and nested Throwables.

Parameters:
msg - the detail message.
nested - the nested Throwable[].

NucleusCanRetryException

public NucleusCanRetryException(String msg,
                                Throwable nested)
Constructs a new exception with the specified detail message and nested Throwable.

Parameters:
msg - the detail message.
nested - the nested Throwable.

NucleusCanRetryException

public NucleusCanRetryException(String msg,
                                Object failed)
Constructs a new exception with the specified detail message and failed object.

Parameters:
msg - the detail message.
failed - the failed object.

NucleusCanRetryException

public NucleusCanRetryException(String msg,
                                Throwable[] nested,
                                Object failed)
Constructs a new exception with the specified detail message, nested Throwables, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable[].
failed - the failed object.

NucleusCanRetryException

public NucleusCanRetryException(String msg,
                                Throwable nested,
                                Object failed)
Constructs a new exception with the specified detail message, nested Throwable, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable.
failed - the failed object.


Copyright © 2013. All Rights Reserved.