Closed chkal closed 8 years ago
Comment by Santiago Pericas-Geertsen:
Mostly because applications don't need to handle these. A ViewEngine is really an extension or SPI. MVC implementations ought to catch and handle these internally.
Comment by keilw:
Some EE JSRs define a distinct "spi" package and sub-packages, not sure, if that might help here, but it would of course clarify the purpose of ViewEngine and related elements.
Original issue MVC_SPEC-35 created by keilw:
I noticed in EDR materials. that
ViewEngineException
inherits fromException
, notRuntimeException
. Unless there's a strong reason, e.g. planning IDE support, it seems against common practice by (related) JSRs in the EE space. JAX-RS only seems to have a single exception that derives fromIOException
(historically a checked exception not runtime exception) otherwise all its exceptions extendRuntimeException
. Same with JSF,FacesException
is also a runtime exception, so why different here?