Package client.utils
Class MarathonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
client.utils.MarathonException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the HTTP status code of the failure, such as 404.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MarathonException
-
-
Method Details
-
getStatus
public int getStatus()Gets the HTTP status code of the failure, such as 404. -
getMessage
- Overrides:
getMessagein classThrowable
-
toString
-