Class ActivityLifecycleErrorHandler


  • @ApplicationScoped
    public class ActivityLifecycleErrorHandler
    extends Object
    • Constructor Detail

      • ActivityLifecycleErrorHandler

        public ActivityLifecycleErrorHandler()
    • 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 the ActivityManager or PlaceManager implementation.
        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.