Class SmsSendException

All Implemented Interfaces:
Serializable

public class SmsSendException extends SmsException
SMS Send Exception 短信发送异常

Exception thrown when SMS sending fails.

短信发送失败时抛出的异常。

Features | 主要功能:

  • Phone number and provider code tracking - 手机号和服务商错误码跟踪
  • Factory methods for common send failures - 常见发送失败的工厂方法

Usage Examples | 使用示例:

throw SmsSendException.failed("13800138000", cause);
throw SmsSendException.timeout("13800138000");

Security | 安全性:

  • Thread-safe: Yes (immutable after construction) - 线程安全: 是(构造后不可变)
Since:
JDK 25, opencode-base-sms V1.0.0
Author:
Leon Soo www.LeonSoo.com
See Also: