Class UnknownSubscriberException

All Implemented Interfaces:
Serializable

public class UnknownSubscriberException extends CheckHimException
Exception thrown when the subscriber is unknown to the network. This occurs when the phone number doesn't exist in the network or is not recognized by the carrier.
See Also:
  • Constructor Details

    • UnknownSubscriberException

      public UnknownSubscriberException(String message, int httpStatusCode)
      Creates a new UnknownSubscriberException.
      Parameters:
      message - The error message
      httpStatusCode - The HTTP status code
    • UnknownSubscriberException

      public UnknownSubscriberException(String message, int httpStatusCode, Throwable cause)
      Creates a new UnknownSubscriberException with a cause.
      Parameters:
      message - The error message
      httpStatusCode - The HTTP status code
      cause - The underlying cause