public static enum ExceptionUtils.NetExceptionType extends Enum<ExceptionUtils.NetExceptionType>
| Enum Constant and Description |
|---|
CONNECT_EXCEPTION
Exception occurred while creating connection
|
CONNECT_TIMEOUT_EXCEPTION
create connection timeout
|
NOT_NET_EXCEPTION
not a network exception
|
READ_TIMEOUT_EXCEPTION
read timeout from remote(request has sent)
|
| Modifier and Type | Method and Description |
|---|---|
static ExceptionUtils.NetExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionUtils.NetExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionUtils.NetExceptionType CONNECT_EXCEPTION
public static final ExceptionUtils.NetExceptionType CONNECT_TIMEOUT_EXCEPTION
public static final ExceptionUtils.NetExceptionType READ_TIMEOUT_EXCEPTION
public static final ExceptionUtils.NetExceptionType NOT_NET_EXCEPTION
public static ExceptionUtils.NetExceptionType[] values()
for (ExceptionUtils.NetExceptionType c : ExceptionUtils.NetExceptionType.values()) System.out.println(c);
public static ExceptionUtils.NetExceptionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023 Seata. All rights reserved.