gclib 2.1.20
Galil Communications Library
All Classes Files Functions Variables Typedefs Macros Modules Pages
GclibJavaException.java
Go to the documentation of this file.
1
4package gclibjava;
5
6public 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}