summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLObject.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-15 21:36:21 +0200
committerMichael Bien <[email protected]>2010-04-15 21:36:21 +0200
commitbb14f43134a9332c014e969b600e094edadd2fb0 (patch)
treea63678de5a0b8b5f5c21bd732b159ba151c274f9 /src/com/jogamp/opencl/CLObject.java
parent966153e376f9932cea29d8bd891a164115a4049c (diff)
code review: improved exception messages to be more verbose whenever possible.
began with CLKernel testcase.
Diffstat (limited to 'src/com/jogamp/opencl/CLObject.java')
-rw-r--r--src/com/jogamp/opencl/CLObject.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLObject.java b/src/com/jogamp/opencl/CLObject.java
index 58c8485c..ec17a518 100644
--- a/src/com/jogamp/opencl/CLObject.java
+++ b/src/com/jogamp/opencl/CLObject.java
@@ -50,8 +50,8 @@ abstract class CLObject {
@Override
public String toString() {
- return "CLObject [id: " + ID
- + " context: " + context+"]";
+ return getClass().getSimpleName() + " [id: " + ID
+ + " context: " + context+"]";
}
}