public enum ErrorType extends Enum<ErrorType>
| 枚举常量和说明 |
|---|
Client |
Server |
Throttling |
Unknown |
public static final ErrorType Client
public static final ErrorType Server
public static final ErrorType Throttling
public static final ErrorType Unknown
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.