Class CloudflareApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
codes.thischwa.cf.CloudflareApiException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CloudflareNotFoundException

public class CloudflareApiException extends Exception
Represents a custom exception for errors encountered while interacting with the Cloudflare API.
See Also:
  • Constructor Details

    • CloudflareApiException

      public CloudflareApiException(String message)
      Constructs a new CloudflareApiException with the specified detail message.
      Parameters:
      message - the detail message, which provides more information about the exception.
    • CloudflareApiException

      public CloudflareApiException(String message, Throwable cause)
      Constructs a new CloudflareApiException with the specified detail message and cause.
      Parameters:
      message - the detail message, which provides additional context or information about the exception.
      cause - the cause of this exception, which is the underlying throwable that triggered this exception.