Class ApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.jenkins.plugins.asyntai.ApiException
All Implemented Interfaces:
Serializable

public class ApiException extends Exception
A failed call to the Asyntai API. The status is 0 when the host could not be reached.
See Also:
  • Constructor Details

    • ApiException

      public ApiException(String message, int status)
  • Method Details

    • getStatus

      public int getStatus()
    • isAccountRejection

      public boolean isAccountRejection()
      A bad key, a plan limit or a rate limit hits every remaining file the same way.