public class MarathonException extends Exception
| Constructor and Description |
|---|
MarathonException(int status,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
int |
getStatus()
Gets the HTTP status code of the failure, such as 404.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic MarathonException(int status,
String message)
Copyright © 2017. All rights reserved.