- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.util.concurrent.ExecutionException
-
- com.pervasive.datarush.cal.DistributedExecutionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BatchExecutionException
public class DistributedExecutionException extends ExecutionException
AnExecutionException
in a distributed context. A DistributedExceptionException can have multiple causes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DistributedExecutionException(List<? extends Throwable> exceptions)
Creates the exception from a list of causes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Throwable>
getCauses()
Returns the cause exceptionsvoid
printStackTrace()
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the standard error stream.void
printStackTrace(PrintStream printStream)
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specifiedPrintStream
.void
printStackTrace(PrintWriter printWriter)
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specifiedPrintWriter
.String
toString()
Prints this exception's stack trace and cause map.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Method Detail
-
getCauses
public List<Throwable> getCauses()
Returns the cause exceptions- Returns:
- the cause exception
-
printStackTrace
public void printStackTrace()
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the standard error stream.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintStream printStream)
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specifiedPrintStream
.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintWriter printWriter)
Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specifiedPrintWriter
.- Overrides:
printStackTrace
in classThrowable
-
-