Enum JDlmsException.ExceptionId

    • Enum Constant Detail

      • CONNECTION_ESTABLISH_ERROR

        public static final JDlmsException.ExceptionId CONNECTION_ESTABLISH_ERROR
        Failed to establish the connection.
      • WRONG_REFERENCING_METHOD

        public static final JDlmsException.ExceptionId WRONG_REFERENCING_METHOD
        E.g. tried to connect with LN referencing, but server only supports SN.
      • 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.
      • 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_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_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 name
        java.lang.NullPointerException - if the argument is null