You don't need to catch the exception, it is handled by FOSRest for the formatting.