Class ADwinCommunicationError

  • All Implemented Interfaces:
    Serializable

    public class ADwinCommunicationError
    extends Exception
    Exception for errors that occur during communication with the ADwin system. Additional info is provided by the getCode method.
    See Also:
    getCode(), Serialized Form
    • Constructor Detail

      • ADwinCommunicationError

        public ADwinCommunicationError​(String StrEnglish,
                                       String StrGer,
                                       int LangID,
                                       int code)
      • ADwinCommunicationError

        public ADwinCommunicationError​(String StrEnglish,
                                       String StrGer,
                                       int LangID)
      • ADwinCommunicationError

        public ADwinCommunicationError​(String Str,
                                       int code)
      • ADwinCommunicationError

        public ADwinCommunicationError​(String Str)
      • ADwinCommunicationError

        public ADwinCommunicationError()
    • Method Detail

      • getCode

        public int getCode()
        Gets a code that provides additional info for the error.
            1 Timeout when writing to the ADwin system
            2 Timeout when reading from the ADwin system
           20 Wrong version (of a binary or BTL file)
          100 Data field is too small or does not exist
          101 Fifo does not contain enough free elements
          102 Too few elements have been written to the fifo
          150 Not enough memory or memory is damaged
          200 File not found
          202 File is not a binary file / invalid binary file
          204 File is not a BTL file
          205 The binary file has been built for a different processor
         2000 Network error
         2001 Network timeout
         2002 Wrong Password given
         4000 Error when synchronizing on the ADwin system
         
        Returns:
        See Also:
        ADwinDevice.Add_Entry(int, InetAddress, String, int, int), ADwinDevice.Load_Process(java.lang.String), ADwinDevice.Boot(java.lang.String)