Fixed OpenCL/LWJGL exception handling.