public static enum ServiceRegisterException.RegisterErrorType extends java.lang.Enum<ServiceRegisterException.RegisterErrorType>
Enum Constant and Description |
---|
ILLEGAL
The service address is invalid.
|
UNAVAILABLE
Service is unavailable, such as the responding code is 404, 302 and 401;
|
Modifier and Type | Method and Description |
---|---|
static ServiceRegisterException.RegisterErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceRegisterException.RegisterErrorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ServiceRegisterException.RegisterErrorType UNAVAILABLE
public static final ServiceRegisterException.RegisterErrorType ILLEGAL
public static ServiceRegisterException.RegisterErrorType[] values()
for (ServiceRegisterException.RegisterErrorType c : ServiceRegisterException.RegisterErrorType.values()) System.out.println(c);
public static ServiceRegisterException.RegisterErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null