public static class InvalidRequest
extends java.lang.Object
InvalidRequest
exception indicates that the request is malformed in
such a way that the server is unable to process it.
Examples:
Counterexamples:
InvalidArgument
exception would be used instead. NotFound
exception would be used instead. Some transport protocols (for example JSON-RPC) include their own mechanism for reporting these kinds of errors, and the API infrastructure for a programming language may expose the errors using a language specific mechanism, so this exception might not be used.