cancel
Showing results for 
Search instead for 
Did you mean: 

method onEvent of class ActivitiEventListener cannot throw Exception?

nicolasfranck
Champ in-the-making
Champ in-the-making
According to the documentation of the class ActivitiEventListener,
the method isFailOnException determines whether an Exception
from onEvent should be considered fatal (i.e. ignore or not).

But how can one throw an Exception, if the method onEvent does
not declare "throws Exception"?
2 REPLIES 2

nicolasfranck
Champ in-the-making
Champ in-the-making
Ok, update. Didn't know that RuntimeException did not require a declaration

trademak
Star Contributor
Star Contributor
Correct