-
New Feature
-
Resolution: Done
-
Normal
-
9.6.3
-
None
-
Security Level: Jimmy
User Story
As an app developer, I want to throw a runtime error in my custom WebAppInit listener because of a critical error to stop the whole application.
use case
In a custom WebAppInit, it connects to a database. If that connection fails, the web application won't run correctly and produce random errors. Throwing a runtime error in WebAppInit can make the application fail fast and make users/developers notice the real root cause.
Acceptance Criteria
don't catch Throwable, let a runtime error go to upper layer.
Details
- invokeSessionInits(), invokeDesktopInits(), invokeExecutionInits() all throw exceptions.