ErrorListener: Fixed wrong parameter being passed to the RuntimeException