public static class PKIException.Data extends ResourceMessage
ResourceMessage.Attribute, ResourceMessage.AttributeList, ResourceMessage.MapAdapter
Modifier and Type | Field and Description |
---|---|
int |
code |
java.lang.String |
message |
attributes
Constructor and Description |
---|
Data() |
Modifier and Type | Method and Description |
---|---|
static PKIException.Data |
fromJSON(java.lang.String json) |
static PKIException.Data |
fromXML(java.lang.String string) |
java.lang.String |
toJSON() |
java.lang.String |
toXML() |
equals, getAttribute, getAttributeNames, getAttributes, getClassName, hashCode, marshal, marshall, removeAttribute, setAttribute, setAttributes, setClassName, unmarshal, unmarshall
public java.lang.String toXML() throws java.lang.Exception
java.lang.Exception
public static PKIException.Data fromXML(java.lang.String string) throws java.lang.Exception
java.lang.Exception
public java.lang.String toJSON() throws java.lang.Exception
java.lang.Exception
public static PKIException.Data fromJSON(java.lang.String json) throws java.lang.Exception
java.lang.Exception