Class EmailConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cloud.opencode.base.email.exception.EmailException
cloud.opencode.base.email.exception.EmailConfigException
- All Implemented Interfaces:
Serializable
Email Configuration Exception
邮件配置异常
Exception thrown when email configuration is invalid.
邮件配置无效时抛出的异常。
Examples | 示例:
- Invalid SMTP host - 无效的SMTP主机
- Missing credentials - 缺少凭证
- Invalid port number - 无效的端口号
Features | 主要功能:
- Configuration validation error handling - 配置验证错误处理
- Error code support - 错误码支持
Security | 安全性:
- Thread-safe: Yes (immutable after construction) - 线程安全: 是(构造后不可变)
- Since:
- JDK 25, opencode-base-email V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmailConfigException(String message) Create configuration exception with message 使用消息创建配置异常EmailConfigException(String message, Throwable cause) Create configuration exception with message and cause 使用消息和原因创建配置异常 -
Method Summary
Methods inherited from class EmailException
getEmail, getErrorCode, isRetryableMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmailConfigException
Create configuration exception with message 使用消息创建配置异常- Parameters:
message- the error message | 错误消息
-
EmailConfigException
-