Class BadRequestException

    • Constructor Detail

      • BadRequestException

        public BadRequestException​(String message)
        Constructs a new BadRequestException with the specified message.
        Parameters:
        message - The reason for the exception.
      • BadRequestException

        public BadRequestException​(String error,
                                   String message)
        Constructs a new BadRequestException with the specified message and code.
        Parameters:
        error - The error code.
        message - The reason for the exception.