diff options
author | Michael Bien <[email protected]> | 2010-04-15 21:36:21 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-15 21:36:21 +0200 |
commit | bb14f43134a9332c014e969b600e094edadd2fb0 (patch) | |
tree | a63678de5a0b8b5f5c21bd732b159ba151c274f9 /src/com/jogamp/opencl/CLContext.java | |
parent | 966153e376f9932cea29d8bd891a164115a4049c (diff) |
code review: improved exception messages to be more verbose whenever possible.
began with CLKernel testcase.
Diffstat (limited to 'src/com/jogamp/opencl/CLContext.java')
-rw-r--r-- | src/com/jogamp/opencl/CLContext.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLContext.java b/src/com/jogamp/opencl/CLContext.java index a3157777..a50bf628 100644 --- a/src/com/jogamp/opencl/CLContext.java +++ b/src/com/jogamp/opencl/CLContext.java @@ -474,9 +474,9 @@ public class CLContext extends CLObject implements CLResource { @Override public String toString() { - return "CLContext [id: " + ID - + " #devices: " + getDevices().length - + "]"; + return getClass().getSimpleName()+" [id: " + ID + + " #devices: " + getDevices().length + + "]"; } @Override |