From bb14f43134a9332c014e969b600e094edadd2fb0 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 15 Apr 2010 21:36:21 +0200 Subject: code review: improved exception messages to be more verbose whenever possible. began with CLKernel testcase. --- src/com/jogamp/opencl/CLObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/jogamp/opencl/CLObject.java') 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+"]"; } } -- cgit v1.2.3