public class RequestException extends RestException
Constructor and Description |
---|
RequestException(int statusCode,
java.lang.String message)
Creates a new RequestException
|
RequestException(int statusCode,
java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
Returns the HTTP status code.
|
public RequestException(int statusCode, java.lang.String message)
statusCode
- HTTP status codemessage
- Error messagepublic RequestException(int statusCode, java.lang.String message, java.lang.Throwable cause)
Copyright © 2010 - 2020 Adobe. All Rights Reserved