Class ServerErrorException

All Implemented Interfaces:
Serializable

public class ServerErrorException extends UnexpectedStatusException
This is a special UnexpectedStatusException for 5xx status codes (i.e. server errors).
See Also:
  • Constructor Details

    • ServerErrorException

      public ServerErrorException(HttpStatus status)
      Create a new ServerErrorException.
      Parameters:
      status - The status returned by the server.
    • ServerErrorException

      public ServerErrorException(HttpStatus status, String message)
      Create a new ServerErrorException with a message.
      Parameters:
      status - The status returned by the server.
      message - An error message.