public class ChildProcessProblem
extends java.lang.Throwable
toString()
, getReconstructedStackTrace()
, and
getCause()
behave as they would have in the original object that was caught in the child process.
ChildProcessProblem objects are not intended to be thrown, as this will overwrite the stack trace.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.lang.String[] |
stackTraceElements |
Modifier | Constructor and Description |
---|---|
|
ChildProcessProblem(java.lang.String[] errors)
Converts a string[] form of an exception and it's cause chain into a ChildProcessProblem.
|
private |
ChildProcessProblem(java.lang.String[] errors,
int i)
Same as above, but starts reading the array at the ith entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getReconstructedStackTrace()
Returns the reconstructed stack trace elements.
|
java.lang.String |
toString()
Returns the reconstructed throwable object's description.
|
private static final long serialVersionUID
private final java.lang.String[] stackTraceElements
public ChildProcessProblem(java.lang.String[] errors)
>"throwable object's description";"number stack trace elements" "stack trace element" "stack trace element" ... >"throwable object's description";"number stack trace elements" ... <pre>
private ChildProcessProblem(java.lang.String[] errors, int i)