|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.sonyericsson.hudson.plugins.metadata.model.JsonUtils.ParseException
public static class JsonUtils.ParseException
Exception thrown during the conversion from JSON to internal POJO representations if something went wrong. For example if a required field is missing.
Constructor Summary | |
---|---|
JsonUtils.ParseException()
Default constructor. |
|
JsonUtils.ParseException(String message,
net.sf.json.JSON json)
Standard constructor. |
|
JsonUtils.ParseException(String message,
Throwable cause,
net.sf.json.JSON json)
Standard constructor. |
|
JsonUtils.ParseException(Throwable cause,
net.sf.json.JSON json)
Standard constructor. |
Method Summary | |
---|---|
net.sf.json.JSON |
getJson()
The offending JSON object. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsonUtils.ParseException(String message, net.sf.json.JSON json)
message
- the error message.json
- the offending JSON object.Exception.Exception(String)
public JsonUtils.ParseException(String message, Throwable cause, net.sf.json.JSON json)
message
- the error message.json
- the offending JSON object.cause
- some other that caused the error.Exception.Exception(String, Throwable)
public JsonUtils.ParseException(Throwable cause, net.sf.json.JSON json)
cause
- some other that caused the error.json
- the offending JSON object.Exception.Exception(Throwable)
public JsonUtils.ParseException()
Method Detail |
---|
public net.sf.json.JSON getJson()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |