public class AsyncApiException extends java.lang.Exception implements XMLizable
| Constructor and Description |
|---|
AsyncApiException()
Constructor
|
AsyncApiException(java.lang.String message,
AsyncExceptionCode code) |
AsyncApiException(java.lang.String message,
AsyncExceptionCode code,
java.lang.Throwable th) |
| Modifier and Type | Method and Description |
|---|---|
AsyncExceptionCode |
getExceptionCode() |
java.lang.String |
getExceptionMessage() |
java.lang.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(java.lang.String exceptionMessage) |
java.lang.String |
toString() |
void |
write(javax.xml.namespace.QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
write this instace as xml.
|
protected void |
writeFields(XmlOutputStream __out,
TypeMapper __typeMapper) |
public AsyncApiException()
public AsyncApiException(java.lang.String message,
AsyncExceptionCode code,
java.lang.Throwable th)
public AsyncApiException(java.lang.String message,
AsyncExceptionCode code)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic AsyncExceptionCode getExceptionCode()
public void setExceptionCode(AsyncExceptionCode exceptionCode)
public java.lang.String getExceptionMessage()
public void setExceptionMessage(java.lang.String exceptionMessage)
public void write(javax.xml.namespace.QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper)
throws java.io.IOException
XMLizableprotected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOException
java.io.IOExceptionpublic void load(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
XMLizableload in interface XMLizable__in - xml input stream from which the data is read__typeMapper - type mapper to be usedjava.io.IOException - failed to read xmlConnectionException - failed to read/parser/bind xmlprotected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws java.io.IOException, ConnectionException
java.io.IOExceptionConnectionExceptionpublic java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2020. All Rights Reserved.