Package io.aether.net.exceptions
Enum ErrorId
- java.lang.Object
-
- java.lang.Enum<ErrorId>
-
- io.aether.net.exceptions.ErrorId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_REGISTRATIONBAD_ARGUMENTSBAD_CMDBAD_CRYPT_TYPEBAD_SIZEBAD_TYPEBLOCKED_CLIENTCRYPTODESERIALIZATION_ERRORINNER_EXCEPTIONMSG_TO_SELFNO_ACCESSNO_AUTHSTREAM_IS_NOT_WRITABLETIMEOUTUNKNOWNUNKNOWN_ALIASUNSUPPORTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorIdvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ErrorId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ErrorId UNKNOWN
-
NO_AUTH
public static final ErrorId NO_AUTH
-
UNKNOWN_ALIAS
public static final ErrorId UNKNOWN_ALIAS
-
NO_ACCESS
public static final ErrorId NO_ACCESS
-
BAD_CMD
public static final ErrorId BAD_CMD
-
BAD_SIZE
public static final ErrorId BAD_SIZE
-
BAD_ARGUMENTS
public static final ErrorId BAD_ARGUMENTS
-
BAD_TYPE
public static final ErrorId BAD_TYPE
-
ALREADY_REGISTRATION
public static final ErrorId ALREADY_REGISTRATION
-
BAD_CRYPT_TYPE
public static final ErrorId BAD_CRYPT_TYPE
-
INNER_EXCEPTION
public static final ErrorId INNER_EXCEPTION
-
BLOCKED_CLIENT
public static final ErrorId BLOCKED_CLIENT
-
UNSUPPORTED
public static final ErrorId UNSUPPORTED
-
STREAM_IS_NOT_WRITABLE
public static final ErrorId STREAM_IS_NOT_WRITABLE
-
DESERIALIZATION_ERROR
public static final ErrorId DESERIALIZATION_ERROR
-
TIMEOUT
public static final ErrorId TIMEOUT
-
MSG_TO_SELF
public static final ErrorId MSG_TO_SELF
-
CRYPTO
public static final ErrorId CRYPTO
-
-
Method Detail
-
values
public static ErrorId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorId c : ErrorId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorId valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-