Added missing 'new' to create an Exception instance