Package com.loadfocus.jenkins.api
Class LoadAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.loadfocus.jenkins.api.LoadAPIException
- All Implemented Interfaces:
Serializable
The LoadFocus API answered, but not with what the plugin needs. Message is safe to print in a build log.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLoadAPIException(String message) LoadAPIException(String message, int status) -
Method Summary
Modifier and TypeMethodDescriptionintHTTP status of the response, or 0 when not applicable.booleanA gateway/maintenance error or rate limit that is worth retrying.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoadAPIException
-
LoadAPIException
-
-
Method Details
-
getStatus
public int getStatus()HTTP status of the response, or 0 when not applicable. -
isTransient
public boolean isTransient()A gateway/maintenance error or rate limit that is worth retrying.
-