Package tech.checkhim.exceptions
Class SubscriberAbsentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.checkhim.exceptions.CheckHimException
tech.checkhim.exceptions.SubscriberAbsentException
- All Implemented Interfaces:
Serializable
Exception thrown when the subscriber is temporarily absent or unreachable.
This typically occurs when the phone is turned off, out of coverage,
or temporarily unable to receive messages.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriberAbsentException(String message, int httpStatusCode) Creates a new SubscriberAbsentException.SubscriberAbsentException(String message, int httpStatusCode, Throwable cause) Creates a new SubscriberAbsentException with a cause. -
Method Summary
Methods inherited from class tech.checkhim.exceptions.CheckHimException
getErrorCode, getHttpStatusCode, isClientError, isServerError, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SubscriberAbsentException
Creates a new SubscriberAbsentException.- Parameters:
message- The error messagehttpStatusCode- The HTTP status code
-
SubscriberAbsentException
Creates a new SubscriberAbsentException with a cause.- Parameters:
message- The error messagehttpStatusCode- The HTTP status codecause- The underlying cause
-