Javadoc
In case an unexpected exception happened anywhere between onComponentTag() and rendered(),
onException() will be called for any behavior. Typically, if you clean up resources in
#afterRender(Component), you should do the same in the implementation of this
method.