Class NetworkRejectedException

All Implemented Interfaces:
Serializable

public class NetworkRejectedException extends CheckHimException
Exception thrown when a phone number verification fails due to network issues. This typically occurs when the network operator forbids verification or when the network is not supported for verification.
See Also:
  • Constructor Details

    • NetworkRejectedException

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

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