@ApplicationScoped public class ActivityLifecycleErrorHandler extends Object
| Constructor and Description |
|---|
ActivityLifecycleErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Activity failedActivity,
ActivityLifecycleError.LifecyclePhase failedCall,
Throwable exception)
Handles the failure of an activity's lifecycle method.
|
public void handle(Activity failedActivity, ActivityLifecycleError.LifecyclePhase failedCall, Throwable exception)
ActivityManager or PlaceManager implementation.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.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.