summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLException.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-12 19:05:13 +0200
committerMichael Bien <[email protected]>2009-10-12 19:05:13 +0200
commit223e32b5ce6943abf7c1ac31f1b90d3679de5571 (patch)
tree435b04350e9be30a19077b94dce660000b975d74 /src/com/mbien/opencl/CLException.java
parent2b05a67d30bde1419c2b0f1b5b427d65b8415eb7 (diff)
cleaned up test output, removed some internal hardcoded fields from CLDevice.
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: