aboutsummaryrefslogtreecommitdiffstats
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.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java
index c81dc039..e8ed771f 100644
--- a/src/com/mbien/opencl/CLException.java
+++ b/src/com/mbien/opencl/CLException.java
@@ -19,11 +19,10 @@ public class CLException extends RuntimeException {
}
public CLException(int error, String message) {
- super(resolveError(error) + ": " + message);
+ super(identifyError(error) + ": " + message);
}
-
- private static final String resolveError(int error) {
+ private static final String identifyError(int error) {
switch (error) {
case CL.CL_INVALID_VALUE: