summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-04-27 19:41:08 +0200
committerMichael Bien <[email protected]>2011-04-27 19:41:08 +0200
commit7fc25427c7b1cab458843de16f16f89c0022ce82 (patch)
treea8a4aea4edfa2b2343c19260de2e62dc9fd85e49
parentb1a2492a2d816e7d8518a460798d1faac35a8b9c (diff)
generator should use IllegalArgumentException instead of CLException for argument validation.
-rw-r--r--resources/cl-common.cfg4
1 files 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.