Clarified error.

This commit is contained in:
dev
2011-07-05 11:19:18 +00:00
parent 27d3df3403
commit ffaabdd9af

View File

@ -78,6 +78,8 @@ public class JSONRPC2ExtendedError extends JSONRPC2Error {
/** Code used for invalid JSON-RPC 2.0, implementation defined error. Error describes missing parameter/parameters */
public static final int CODE_MISSING_PARAMETER = -32005;
public static final JSONRPC2Error MISSING_PARAMTER = new JSONRPC2ExtendedError(CODE_MISSING_PARAMETER, "Required parameter(s) is(/are) missing from the method call.");
/**
* Creates a new JSON-RPC 2.0 error with the specified code and