de.adwin.driver
Class ADwinCommunicationError
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.adwin.driver.ADwinCommunicationError
- All Implemented Interfaces:
- java.io.Serializable
- public class ADwinCommunicationError
- extends java.lang.Exception
Exception for errors with the communication with the ADwin system, and for errors on it.
Additional info is provided by the getCode
method. Additionally, some exceptions, like IOException
s, are
converted into this class.
- See Also:
getCode()
,
Serialized Form
Method Summary |
int |
getCode()
Gets a code that provides additional info for the error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ADwinCommunicationError
public ADwinCommunicationError(java.lang.String StrEnglish,
java.lang.String StrGer,
int LangID,
int code)
ADwinCommunicationError
public ADwinCommunicationError(java.lang.String StrEnglish,
java.lang.String StrGer,
int LangID)
ADwinCommunicationError
public ADwinCommunicationError(java.lang.String Str,
int code)
ADwinCommunicationError
public ADwinCommunicationError(java.lang.String Str)
ADwinCommunicationError
public ADwinCommunicationError()
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 I/O error occured when reading from or writing to a file
2000 Network error
2001 Network timeout
2002 Wrong Password given
4000 Error when synchronizing on the ADwin system
- See Also:
ADwinDevice.Add_Entry(int, InetAddress, String, int, int)
,
ADwinDevice.Load_Process(java.lang.String)
,
ADwinDevice.Boot(java.lang.String)