[14.x] Drop method_exists checks for ExceptionHandler methods in JsonFormatter

Merged
PA
12d ago
+2-4

Same idea as #62367.

On 14.x the ExceptionHandler contract declares isReporting() and buildContextForException() (they used to be @method annotations on 13.x), so every bound handler has them and the method_exists checks in JsonFormatter can't fail anymore.