summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/CLException.java')
-rw-r--r--src/com/mbien/opencl/CLException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java
index 2f6a02a4..baa187a5 100644
--- a/src/com/mbien/opencl/CLException.java
+++ b/src/com/mbien/opencl/CLException.java
@@ -32,7 +32,7 @@ public class CLException extends RuntimeException {
/**
* Throws a CLException when <code>status != CL_SUCCESS</code>.
*/
- public static final void checkForError(int status, String message) {
+ public static void checkForError(int status, String message) {
if(status != CL_SUCCESS) {
CLException ex = newException(status, message);
ex.fillInStackTrace();
@@ -43,7 +43,7 @@ public class CLException extends RuntimeException {
/**
* Returns a CLException specific to the error code.
*/
- public static final CLException newException(int status, String message) {
+ public static CLException newException(int status, String message) {
CLException specificEx = createSpecificException(status, message);
if(specificEx != null) {
specificEx.fillInStackTrace();