public class ServerErrorException extends UnexpectedStatusException
UnexpectedStatusException for 5xx status codes (i.e. server errors).| Constructor and Description |
|---|
ServerErrorException(HttpStatus status)
Create a new
ServerErrorException. |
ServerErrorException(HttpStatus status,
java.lang.String message)
Create a new
ServerErrorException with a message. |
statuspublic ServerErrorException(HttpStatus status)
ServerErrorException.status - The status returned by the server.public ServerErrorException(HttpStatus status, java.lang.String message)
ServerErrorException with a message.status - The status returned by the server.message - An error message.