Class PrefixMissingException

All Implemented Interfaces:
Serializable

public class PrefixMissingException extends CheckHimException
Exception thrown when a phone number is missing the required country prefix. This occurs when the phone number doesn't include the international dialing code (e.g., +55 for Brazil, +1 for US).
See Also:
  • Constructor Details

    • PrefixMissingException

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

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