gclib  2.0.8
Communications API for Galil controllers and PLCs
GclibJavaException.java
Go to the documentation of this file.
1 
4 package gclibjava;
5 
6 public class GclibJavaException extends Exception {
7  int myErrorCode = 0;
8  public GclibJavaException(int errorCode, String message) {
9  super(message);
10  myErrorCode = errorCode;
11  }
12  public int getErrorCode()
13  {
14  return myErrorCode;
15  }
16 }
GReturn message(GCon g)
Demonstrates how to receive messages from the controller and detect differences in Trace and crashed ...
Definition: message.cpp:14