Class BadRequestException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ValidationException

public class BadRequestException extends ApplicationException
Errors due to improper user requests.

For example: missing or incorrect parameters.

See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException()
      Creates an error instance with bad request error category and assigns its values.
      See Also:
    • BadRequestException

      public BadRequestException(String correlationId, String code, String message)
      Creates an error instance and assigns its values.
      Parameters:
      correlationId - (optional) a unique transaction id to trace execution through call chain.
      code - (optional) a unique error code. Default: "UNKNOWN"
      message - (optional) a human-readable description of the error.
      See Also: