From 2c2113941c0508d20ad4c6b277348694ace51283 Mon Sep 17 00:00:00 2001
From: CoreRasurae <luis.p.mendes@gmail.com>
Date: Fri, 27 Apr 2018 13:38:40 +0100
Subject: [PATCH] Fix: Fixes issue #118 and improves OpenCLDevice.configure()
 exception handling - improved msg

---
 .../java/com/aparapi/runtime/OpenCLDeviceConfiguratorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/aparapi/runtime/OpenCLDeviceConfiguratorTest.java b/src/test/java/com/aparapi/runtime/OpenCLDeviceConfiguratorTest.java
index 8c811ad8..388fffdf 100644
--- a/src/test/java/com/aparapi/runtime/OpenCLDeviceConfiguratorTest.java
+++ b/src/test/java/com/aparapi/runtime/OpenCLDeviceConfiguratorTest.java
@@ -227,7 +227,7 @@ public class OpenCLDeviceConfiguratorTest {
     	IOpenCLDeviceConfigurator configurator = new IOpenCLDeviceConfigurator() {
 			@Override
 			public void configure(OpenCLDevice device) {
-				throw new IllegalArgumentException("Should be catched exception");
+				throw new IllegalArgumentException("This exception is part of the test, shouldn't cause test to fail");
 			}
     	};
     	OpenCLDevice.setConfigurator(configurator);
-- 
GitLab