public class ScopedException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_LOG_PREFIX |
static String |
ERROR_LOG_SUFFIX |
static String |
FILE_KEY |
static String |
LOCATION_KEY |
static String |
MSG_KEY |
Constructor and Description |
---|
ScopedException(String message,
Object... args) |
Modifier and Type | Method and Description |
---|---|
static ScopedException |
createFromOutput(String output) |
static void |
encodeOutput(boolean encodeOutput) |
static List<ScopedException> |
extractErrors(String output) |
String |
getBareMessage() |
String |
getMessage()
Returns the detail message string of this throwable.
|
ScopedErrorReport |
getScopedErrorReport() |
static boolean |
issEncodeOutput() |
boolean |
isValid() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ERROR_LOG_PREFIX
public static final String ERROR_LOG_SUFFIX
public static final String MSG_KEY
public static final String LOCATION_KEY
public static final String FILE_KEY
public String getBareMessage()
public String getMessage()
Throwable
getMessage
in class Throwable
Throwable
instance
(which may be null
).public ScopedErrorReport getScopedErrorReport()
public boolean isValid()
public static ScopedException createFromOutput(String output)
public static List<ScopedException> extractErrors(String output)
public static void encodeOutput(boolean encodeOutput)
public static boolean issEncodeOutput()