protected static class MwsException.XmlMwsException extends AbstractMwsObject
| Modifier | Constructor and Description |
|---|---|
protected |
MwsException.XmlMwsException() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetail() |
String |
getErrorCode() |
String |
getErrorType() |
String |
getMessage() |
void |
readFragmentFrom(MwsReader r)
Read from a reader not including any enclosing tags/markers.
|
void |
writeFragmentTo(MwsWriter w)
Write the inner contents to a writer.
|
void |
writeTo(MwsWriter w)
Write the entire object to a writer.
|
toJSON, toJSONFragment, toXML, toXMLFragmentpublic String getErrorCode()
public String getErrorType()
public String getMessage()
public String getDetail()
public void readFragmentFrom(MwsReader r)
MwsObjectFor XML reads inner tags for elements but not the enclosing tag. This method will read attributes if the reader is positioned on a start tag otherwise it will not act as if no attributes were present.
For JSON reads the name: elements but not the enclosing braces.
r - The reader to read from.public void writeFragmentTo(MwsWriter w)
MwsObjectAttributes are written. Then the inner values are written. No begin or end markers are written.
w - The write to write to.Copyright © 2014. All Rights Reserved.