public class StreamBaseException extends Exception implements LocatedItem
StreamBaseRuntimeException
,
Serialized FormConstructor 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) |
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) |
boolean |
equals(Object obj) |
Map<String,String> |
getParams()
Get parameters
|
int |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLocation
public 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)
public static void asXmlStringSingle(Throwable t, StringBuilder s, int formateterFlags)
Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.