Class LoadAPIException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.loadfocus.jenkins.api.LoadAPIException
All Implemented Interfaces:
Serializable

public class LoadAPIException extends Exception
The LoadFocus API answered, but not with what the plugin needs. Message is safe to print in a build log.
See Also:
  • Constructor Details

    • LoadAPIException

      public LoadAPIException(String message)
    • LoadAPIException

      public LoadAPIException(String message, int status)
  • 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.