Package org.uberfire.client.mvp
Class ActivityLifecycleErrorHandler
- java.lang.Object
-
- org.uberfire.client.mvp.ActivityLifecycleErrorHandler
-
@ApplicationScoped public class ActivityLifecycleErrorHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description ActivityLifecycleErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Activity failedActivity, ActivityLifecycleError.LifecyclePhase failedCall, Throwable exception)Handles the failure of an activity's lifecycle method.
-
-
-
Method Detail
-
handle
public void handle(Activity failedActivity, ActivityLifecycleError.LifecyclePhase failedCall, Throwable exception)
Handles the failure of an activity's lifecycle method. This should only normally be called by theActivityManagerorPlaceManagerimplementation.- Parameters:
failedActivity- the activity instance that was in error. Not null.failedCall- The lifecycle call that was in error. Not null.exception- The exception thrown by the lifecycle method, if the error was caused by an exception. Can be null.
-
-