public class ProcessException extends Exception implements Serializable
Indicates a failure with a ManagedProcess
.
As ProcessException
may be sent over streams between proceses, this
class handles being Serializable
(particularly for causing
Exception
).
Constructor and Description |
---|
ProcessException(String message)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
static ProcessException |
propagate(String message,
Throwable cause)
Propagates the
ProcessException . |
static ProcessException |
propagate(Throwable cause)
Propagates the
ProcessException . |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public ProcessException(String message)
message
- Message.public static ProcessException propagate(Throwable cause)
ProcessException
.cause
- Cause.ProcessException
to propagate.public static ProcessException propagate(String message, Throwable cause)
ProcessException
.message
- Message.cause
- Cause.ProcessException
to propagate.public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
Copyright © 2005–2016. All rights reserved.