public class StreamBaseException extends Exception implements LocatedItem, Serializable
StreamBaseRuntimeException,
Serialized Form| Constructor and Description |
|---|
StreamBaseException(LocatedItem loc,
String msg)
Constructor
|
StreamBaseException(LocatedItem loc,
String msg,
Throwable cause)
Constructor
|
StreamBaseException(LocatedItem loc,
Throwable cause) |
StreamBaseException(String a_message)
Constructor
|
StreamBaseException(String a_message,
Throwable a_cause)
Constructor
|
StreamBaseException(Throwable a_cause)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
asXmlStringSingle(Throwable t,
StringBuilder s,
int formateterFlags)
Create an XML string that represents the exception
|
String |
asXmlStringStrict()
Create an XML String that represents this Exception
Strictly preserve the original message that was passed
to this exception, which is different from other asXmlString*() functions,
which decorate the message with additional location data
|
static void |
asXmlStringStrict(Throwable t,
StringBuilder s)
Create an XML String that represents the Exception
|
boolean |
equals(Object obj) |
Map<String,String> |
getParams()
Get parameters
|
int |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLocationpublic StreamBaseException(String a_message)
a_message - Exception messagepublic StreamBaseException(String a_message, Throwable a_cause)
a_message - Exception messagea_cause - Exception causepublic StreamBaseException(Throwable a_cause)
a_cause - Exception causepublic StreamBaseException(LocatedItem loc, String msg)
loc - Item locationmsg - Exception messagepublic StreamBaseException(LocatedItem loc, String msg, Throwable cause)
loc - Item locationmsg - Exception messagecause - Exception causepublic StreamBaseException(LocatedItem loc, Throwable cause)
loc - cause - public String asXmlStringStrict()
public static void asXmlStringStrict(Throwable t, StringBuilder s)
Strictly preserve the original message that was passed to the exception, which is different from other asXmlString*() functions, which decorate the message with additional location data
t - Exception to convert to an XML strings - XML String returned herepublic static void asXmlStringSingle(Throwable t, StringBuilder s, int formateterFlags)
t - Exception to convert to XML strings - XML string returned hereformateterFlags - Formatting flags See ErrorFormatter.Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.