Class ShieldException

All Implemented Interfaces:
Serializable

public class ShieldException extends RuntimeException
Exception thrown when the Shield API returns a non-2xx response.
See Also:
  • Constructor Details

    • ShieldException

      public ShieldException(int statusCode, String message)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable