Package codes.thischwa.cf
Class CloudflareApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
codes.thischwa.cf.CloudflareApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CloudflareNotFoundException
Represents a custom exception for errors encountered while interacting with the Cloudflare API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCloudflareApiException
(String message) Constructs a new CloudflareApiException with the specified detail message.CloudflareApiException
(String message, Throwable cause) Constructs a new CloudflareApiException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CloudflareApiException
Constructs a new CloudflareApiException with the specified detail message.- Parameters:
message
- the detail message, which provides more information about the exception.
-
CloudflareApiException
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.
-