public static void reportError(int error, String callName) {
        if (error != CL10.CL_SUCCESS) {
            String errorName = getErrorName(error);
            if (errorName == null) {
                errorName = "UNKNOWN";
            }
            LOG.log(Level.WARNING, "OpenCL error in {0}: {1} (0x{2})", new Object[]{callName, errorName, Integer.toHexString(error)});
        }
    }
Maps OpenCL error token values to their String representations. 
        Taken directly from org.lwjgl.opencl.Util
jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/Utils.java