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