Enum Class SmsTimeoutException.TimeoutType
java.lang.Object
java.lang.Enum<SmsTimeoutException.TimeoutType>
cloud.opencode.base.sms.exception.SmsTimeoutException.TimeoutType
- All Implemented Interfaces:
Serializable, Comparable<SmsTimeoutException.TimeoutType>, Constable
- Enclosing class:
SmsTimeoutException
Timeout type enumeration
超时类型枚举
- Since:
- JDK 25, opencode-base-sms V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConnection timeout | 连接超时Read/response timeout | 读取/响应超时Total operation timeout | 总操作超时 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SmsTimeoutException.TimeoutType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTION
Connection timeout | 连接超时 -
READ
Read/response timeout | 读取/响应超时 -
TOTAL
Total operation timeout | 总操作超时
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-