public class ShellException extends Exception
| Constructor and Description |
|---|
ShellException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getFirstMessage(Throwable cause) |
String |
getStackTraceAsString() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
static String |
stackTraceAsString(Throwable cause) |
static ShellException |
wrapCause(Throwable cause)
Serializes a
Throwable to a String and uses that as a message
in a ShellException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic ShellException(String message)
public void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic static ShellException wrapCause(Throwable cause)
Throwable to a String and uses that as a message
in a ShellException. This is because we can't rely on the
client having the full classpath the server has.cause - the Throwable to wrap in a ShellException.ShellException wrapped around the cause.public String getStackTraceAsString()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.