public static enum JDlmsException.ExceptionId extends java.lang.Enum<JDlmsException.ExceptionId>
Enum Constant and Description |
---|
AUTHENTICATION_ERROR
Error in authentication.
|
AUTHENTICATION_REQUIRED
Authentication required.
|
CONNECTION_ALREADY_CLOSED
Connection has already been closed.
|
CONNECTION_CLOSED
The Connection has never been opened, but still tried to access.
|
CONNECTION_DISCONNECT_ERROR
Graceful disconnect error.
|
CONNECTION_ESTABLISH_ERROR
Failed to establish the connection.
|
GET_REQUEST_TOO_LARGE
GET.request PDU is too large.
|
HDLC_CONNECTION_CLOSE_ERROR
Error, while closing HDLC connection.
|
HDLC_CONNECTION_ESTABLISH_ERROR
Error, while connecting to HDLC meter.
|
HDLC_KEY_PAIR_ERR
Received a unknown send/destination-keypair from remote meter
|
HDLC_MSG_INVALID_FLAG
Denotes, that the start/end of the HDLC frame wasn't 0x7E.
|
HDLC_SEND_FRAME_SIZE_EXCEEDED
Error with the HDLC send frame size or queue.
|
IEC_21_CONNECTION_ESTABLISH_ERROR
Couldn't connect with IEC 61056-21
|
IEC_21_UNKNOWN_ACK_MSG
Unknown ACK message.
|
IEC_21_WRONG_BAUD_RATE_CHANGE_DELAY
Baud rate change Delay was wrong.
|
JRXTX_INCOMPATIBLE_TO_OS
jRXRX is not fully implemented for your system.
|
JRXTX_NO_SUCH_PORT
The specified COM port does not exist.
|
JRXTX_PORT_IN_USE
The specified COM port is locked by an other process.
|
JRXTX_PORT_NOT_SERIAL
The specified COM port is not a serial port.
|
RESPONSE_TIMEOUT
Signals, that the response timed out.
|
UNKNOWN
Unknown error.
|
UNKNOWN_ASSOCIATION_RESULT
The returned association result is not know by the stack.
|
WRAPPER_HEADER_INVALID
General WrapperHeader error.
|
WRAPPER_HEADER_INVALID_PAYLOAD_LENGTH
Denotes, that the specified length in the header, does not match the wrapper header.
|
WRAPPER_HEADER_INVALID_SRC_DEST_ADDR
Denotes, that the received source and destination address are not as expected.
|
WRAPPER_HEADER_INVALID_VERSION
Denotes, that the header version is incompatible to the stack.
|
WRONG_REFERENCING_METHOD
E.g.
|
Modifier and Type | Method and Description |
---|---|
static JDlmsException.ExceptionId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JDlmsException.ExceptionId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JDlmsException.ExceptionId CONNECTION_ESTABLISH_ERROR
public static final JDlmsException.ExceptionId AUTHENTICATION_ERROR
public static final JDlmsException.ExceptionId AUTHENTICATION_REQUIRED
public static final JDlmsException.ExceptionId WRONG_REFERENCING_METHOD
public static final JDlmsException.ExceptionId UNKNOWN
public static final JDlmsException.ExceptionId RESPONSE_TIMEOUT
public static final JDlmsException.ExceptionId CONNECTION_ALREADY_CLOSED
public static final JDlmsException.ExceptionId CONNECTION_CLOSED
public static final JDlmsException.ExceptionId CONNECTION_DISCONNECT_ERROR
public static final JDlmsException.ExceptionId UNKNOWN_ASSOCIATION_RESULT
public static final JDlmsException.ExceptionId GET_REQUEST_TOO_LARGE
public static final JDlmsException.ExceptionId JRXTX_NO_SUCH_PORT
public static final JDlmsException.ExceptionId JRXTX_PORT_IN_USE
public static final JDlmsException.ExceptionId JRXTX_PORT_NOT_SERIAL
public static final JDlmsException.ExceptionId JRXTX_INCOMPATIBLE_TO_OS
public static final JDlmsException.ExceptionId WRAPPER_HEADER_INVALID
public static final JDlmsException.ExceptionId WRAPPER_HEADER_INVALID_VERSION
public static final JDlmsException.ExceptionId WRAPPER_HEADER_INVALID_SRC_DEST_ADDR
public static final JDlmsException.ExceptionId WRAPPER_HEADER_INVALID_PAYLOAD_LENGTH
public static final JDlmsException.ExceptionId HDLC_MSG_INVALID_FLAG
public static final JDlmsException.ExceptionId HDLC_CONNECTION_ESTABLISH_ERROR
public static final JDlmsException.ExceptionId HDLC_CONNECTION_CLOSE_ERROR
public static final JDlmsException.ExceptionId HDLC_SEND_FRAME_SIZE_EXCEEDED
public static final JDlmsException.ExceptionId HDLC_KEY_PAIR_ERR
public static final JDlmsException.ExceptionId IEC_21_UNKNOWN_ACK_MSG
public static final JDlmsException.ExceptionId IEC_21_WRONG_BAUD_RATE_CHANGE_DELAY
public static final JDlmsException.ExceptionId IEC_21_CONNECTION_ESTABLISH_ERROR
public static JDlmsException.ExceptionId[] values()
for (JDlmsException.ExceptionId c : JDlmsException.ExceptionId.values()) System.out.println(c);
public static JDlmsException.ExceptionId 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