Class SmsTemplateException

All Implemented Interfaces:
Serializable

public class SmsTemplateException extends SmsException
SMS Template Exception 短信模板异常

Exception thrown for template-related errors.

模板相关错误时抛出的异常。

Features | 主要功能:

  • Template ID and variable name tracking - 模板ID和变量名跟踪
  • Factory methods for common errors - 常见错误的工厂方法

Usage Examples | 使用示例:

throw SmsTemplateException.notFound("TPL_001");
throw SmsTemplateException.variableMissing("TPL_001", "code");

Security | 安全性:

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