public class ScopedException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ScopedException(java.lang.String message,
java.lang.Object... args) |
ScopedException(java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createHumanReadableMessage() |
static void |
encodeOutput(boolean encodeOutput) |
static java.util.List<ScopedException> |
extractErrors(java.lang.String output)
Given encoded output generated by
getMessage(), extract out the list of
ScopedExceptions contained within. |
java.lang.String |
getBareMessage() |
java.lang.String |
getMessage() |
ScopedErrorReport |
getScopedErrorReport() |
static boolean |
isEncodeOutput() |
boolean |
isValid() |
public ScopedException(java.lang.String message,
java.lang.Object... args)
public ScopedException(@Nullable
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args)
public java.lang.String getBareMessage()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String createHumanReadableMessage()
public ScopedErrorReport getScopedErrorReport()
public boolean isValid()
public static java.util.List<ScopedException> extractErrors(java.lang.String output)
getMessage(), extract out the list of
ScopedExceptions contained within.public static void encodeOutput(boolean encodeOutput)
public static boolean isEncodeOutput()