Java Spring Error Codes

Content

Overview

The following table lists and describes the error codes that are generated by the Java Spring libraries that implement ULM.

Java Spring Error Codes

HTTP Status Spring-Generated Code Description
400 BIND_EXCEPTION Internal binding that results from bad user input.
  HTTP_MESSAGE_NOT_READABLE Failure to parse a POST request payload.
  MISSING_SERVLET_REQUEST_PARAMETER Bad user input.
  METHOD_ARGUMENT_NOT_VALID User input validation error.
  SERVLET_REQUEST_BINDING Failure to interpret user input.
  TYPE_MISMATCH Failure to convert input parameters.
401 UNAUTHORIZED Thrown as a part of any authentication failure.
403 ACCESS_FORBIDDEN Access is denied. You do not have the required permissions to access this ULM resource.
405 HTTP_REQUEST_METHOD_NOT_SUPPORTED Request handler does not support the used method. See HTTP Verbs.
406 HTTP_MEDIA_TYPE_NOT_ACCEPTABLE Request handler cannot generate a response that is acceptable by the client.
415 HTTP_MEDIA_TYPE_NOT_SUPPORTED The client PUT, POSTed, or PATCHed content of an unsupported media type.
500 CONVERSION_NOT_SUPPORTED Failure to interpret user input.
500 HTTP_MESSAGE_NOT_WRITABLE Failure to generate a response payload.
500 MISSING_SERVLET_REQUEST_PART Missing multi-part.