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 that occur during communication with the ADwin system.
Additional info is provided by the getCode
method.
- See Also:
getCode()
,
Serialized Form
Method Summary |
int |
getCode()
Gets a code that provides additional info for the error. |
java.lang.String |
getMessage()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 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
- See Also:
ADwinDevice.Add_Entry(int, InetAddress, String, int, int)
,
ADwinDevice.Load_Process(java.lang.String)
,
ADwinDevice.Boot(java.lang.String)
getMessage
public java.lang.String getMessage()