public class RequestException extends Exception
Constructor and Description |
---|
RequestException(int code,
String message)
Construct an exception with the associated error code and message
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code associated with the exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RequestException(int code, String message)
code
- error codemessage
- error messageCopyright © 2021. All rights reserved.