public enum PacketUtilityErrorCodes extends Enum<PacketUtilityErrorCodes>
| Enum Constant and Description |
|---|
API_NOT_ACCESSIBLE_EXCEPTION |
FILE_NOT_FOUND_IN_DESTINATION |
PACKET_DECRYPTION_FAILURE_EXCEPTION |
SYS_IO_EXCEPTION |
UNKNOWN_RESOURCE_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getErrorMessage() |
static PacketUtilityErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketUtilityErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketUtilityErrorCodes UNKNOWN_RESOURCE_EXCEPTION
public static final PacketUtilityErrorCodes FILE_NOT_FOUND_IN_DESTINATION
public static final PacketUtilityErrorCodes PACKET_DECRYPTION_FAILURE_EXCEPTION
public static final PacketUtilityErrorCodes API_NOT_ACCESSIBLE_EXCEPTION
public static final PacketUtilityErrorCodes SYS_IO_EXCEPTION
public static PacketUtilityErrorCodes[] values()
for (PacketUtilityErrorCodes c : PacketUtilityErrorCodes.values()) System.out.println(c);
public static PacketUtilityErrorCodes 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 nullpublic String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.