Issue Task Closed

#90277Remove throwing of RuntimeException if RenderingContext is not desired type, replace with method presence checks.

Claus Due 01/31/20, 15:40 updated 04/21/20, 12:16

Description

Implementations of RenderingContext currently throws RuntimeException, but is technically compatible with other instance types of RenderingContext.

The goal of throwing the exception is to avoid calling methods that do not exist – this can be achieved by checking if the method exists.

Reviews 1