public class ClientException extends WebException
Constructor and Description |
---|
ClientException(String message)
Message will get displayed to the end user, so make it polite and friendly.
|
ClientException(String message,
int statusCode)
Message will get displayed to the end user, so make it polite and friendly.
|
ClientException(String message,
int statusCode,
Throwable cause)
Message will get displayed to the end user, so make it polite and friendly.
|
ClientException(ValidationException validationException) |
getStatusCode, setStatusCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientException(String message)
message
- public ClientException(String message, int statusCode)
message
- statusCode
- the HTTP status code for the requestpublic ClientException(String message, int statusCode, Throwable cause)
message
- statusCode
- the HTTP status code for the requestpublic ClientException(ValidationException validationException)
Copyright © 2016. All rights reserved.