Package com.netscape.certsrv.base
Class PKIException.Data
- java.lang.Object
-
- com.netscape.certsrv.base.ResourceMessage
-
- com.netscape.certsrv.base.PKIException.Data
-
- Enclosing class:
- PKIException
public static class PKIException.Data extends ResourceMessage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.netscape.certsrv.base.ResourceMessage
ResourceMessage.Attribute, ResourceMessage.AttributeList, ResourceMessage.MapAdapter
-
-
Field Summary
Fields Modifier and Type Field Description int
code
java.lang.String
message
-
Fields inherited from class com.netscape.certsrv.base.ResourceMessage
attributes
-
-
Constructor Summary
Constructors Constructor Description Data()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class com.netscape.certsrv.base.ResourceMessage
equals, getAttribute, getAttributeNames, getAttributes, getClassName, hashCode, marshal, marshall, removeAttribute, setAttribute, setAttributes, setClassName, unmarshal, unmarshall
-
-
-
-
Method Detail
-
toXML
public java.lang.String toXML() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromXML
public static PKIException.Data fromXML(java.lang.String string) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toJSON
public java.lang.String toJSON() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJSON
public static PKIException.Data fromJSON(java.lang.String json) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-