From 7fc25427c7b1cab458843de16f16f89c0022ce82 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Wed, 27 Apr 2011 19:41:08 +0200 Subject: generator should use IllegalArgumentException instead of CLException for argument validation. --- resources/cl-common.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg index 53537c63..baac28f8 100644 --- a/resources/cl-common.cfg +++ b/resources/cl-common.cfg @@ -28,8 +28,8 @@ Ignore CL_LONG_MIN Ignore CL_ULONG_MAX -#use CLException instead of RunTimeException -RuntimeExceptionType CLException +#use IllegalArgumentException for argument validation +RuntimeExceptionType IllegalArgumentException #enforce client side "good behavior" by generating direct-memory-only bindings for #performance critical functions. -- cgit v1.2.3