Package codes.thischwa.cf
Class CloudflareNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
codes.thischwa.cf.CloudflareApiException
codes.thischwa.cf.CloudflareNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown to indicate that a requested resource was not found during interaction
with the Cloudflare API.
It extends CloudflareApiException
to provide specific errors related to situations
where Cloudflare responds with a "not found" operation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCloudflareNotFoundException
(String message) Constructs a new CloudflareNotFoundException with the specified detail message.CloudflareNotFoundException
(String message, Throwable cause) Constructs a new CloudflareNotFoundException 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
-
CloudflareNotFoundException
Constructs a new CloudflareNotFoundException with the specified detail message.- Parameters:
message
- the detail message, which provides additional context about the "not found" error encountered during interaction with the Cloudflare API.
-
CloudflareNotFoundException
Constructs a new CloudflareNotFoundException with the specified detail message and cause.- Parameters:
message
- the detail message, which provides additional context about the "not found" error encountered during interaction with the Cloudflare API.cause
- the cause of this exception, which is the underlying throwable that triggered this exception.
-