public class ComponentUnavailableExceptionHandler extends Object
ComponentUnavailableAction to execute when a
ComponentUnavailableException is thrown| Constructor and Description |
|---|
ComponentUnavailableExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Throwable e)
Determines the ComponentUnavailableAction to execute based on the given exception
and executes it.
|
void |
setPolicies(Map<String,ComponentUnavailableAction> policies)
A map of ComponentUnavailableException canonical class names to the
ComponentUnavailableAction that should be executed.
|
public ComponentUnavailableExceptionHandler()
public void setPolicies(Map<String,ComponentUnavailableAction> policies)
policies - public void handle(Throwable e)
e - Copyright © 2018 Alfresco Software. All rights reserved.