diff options
Diffstat (limited to 'src/com/mbien/opencl/CLException.java')
-rw-r--r-- | src/com/mbien/opencl/CLException.java | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java index c080b164..db4426f8 100644 --- a/src/com/mbien/opencl/CLException.java +++ b/src/com/mbien/opencl/CLException.java @@ -6,20 +6,23 @@ package com.mbien.opencl; */ public class CLException extends RuntimeException { - public CLException(Throwable cause) { - super(cause); - } - - public CLException(String message, Throwable cause) { - super(message, cause); - } - - public CLException(String message) { - super(message); - } + public final int errorcode; + +// public CLException(Throwable cause) { +// super(cause); +// } +// +// public CLException(String message, Throwable cause) { +// super(message, cause); +// } +// +// public CLException(String message) { +// super(message); +// } public CLException(int error, String message) { super(identifyError(error) + ": " + message); + errorcode = error; } public static final void checkForError(int status, String message) { |