public class AsyncApiException extends Exception implements XMLizable
| Constructor and Description |
|---|
AsyncApiException()
Constructor
|
AsyncApiException(String message,
AsyncExceptionCode code) |
AsyncApiException(String message,
AsyncExceptionCode code,
Throwable th) |
| Modifier and Type | Method and Description |
|---|---|
AsyncExceptionCode |
getExceptionCode() |
String |
getExceptionMessage() |
String |
getMessage() |
void |
load(XmlInputStream __in,
TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
|
protected void |
loadFields(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setExceptionCode(AsyncExceptionCode exceptionCode) |
void |
setExceptionMessage(String exceptionMessage) |
String |
toString() |
void |
write(QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
write this instace as xml.
|
protected void |
writeFields(XmlOutputStream __out,
TypeMapper __typeMapper) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AsyncApiException()
public AsyncApiException(String message, AsyncExceptionCode code, Throwable th)
public AsyncApiException(String message, AsyncExceptionCode code)
public String getMessage()
getMessage in class Throwablepublic AsyncExceptionCode getExceptionCode()
public void setExceptionCode(AsyncExceptionCode exceptionCode)
public String getExceptionMessage()
public void setExceptionMessage(String exceptionMessage)
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
XMLizablewrite in interface XMLizable__element - xml element name__out - xml output stream__typeMapper - type mapper to be usedIOException - failed to write xmlprotected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
IOExceptionpublic void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
XMLizableload in interface XMLizable__in - xml input stream from which the data is read__typeMapper - type mapper to be usedIOException - failed to read xmlConnectionException - failed to read/parser/bind xmlprotected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
IOExceptionConnectionExceptionCopyright © 2020. All rights reserved.