| Package | Description |
|---|---|
| com.opensymphony.xwork2.config.entities |
Configuration entity classes.
|
| com.opensymphony.xwork2.config.providers |
Configuration provider classes.
|
| com.opensymphony.xwork2.interceptor |
Interceptor classes.
|
| Modifier and Type | Field and Description |
|---|---|
protected ExceptionMappingConfig |
ExceptionMappingConfig.Builder.target |
| Modifier and Type | Field and Description |
|---|---|
protected List<ExceptionMappingConfig> |
ActionConfig.exceptionMappings |
protected List<ExceptionMappingConfig> |
PackageConfig.globalExceptionMappingConfigs |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMappingConfig |
ExceptionMappingConfig.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
List<ExceptionMappingConfig> |
PackageConfig.getAllExceptionMappingConfigs()
returns the List of all the ExceptionMappingConfigs available in the current package.
|
List<ExceptionMappingConfig> |
ActionConfig.getExceptionMappings() |
List<ExceptionMappingConfig> |
PackageConfig.getGlobalExceptionMappingConfigs()
gets the ExceptionMappingConfigs local to this package
|
| Modifier and Type | Method and Description |
|---|---|
ActionConfig.Builder |
ActionConfig.Builder.addExceptionMapping(ExceptionMappingConfig exceptionMapping) |
PackageConfig.Builder |
PackageConfig.Builder.addExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig) |
| Modifier and Type | Method and Description |
|---|---|
ActionConfig.Builder |
ActionConfig.Builder.addExceptionMappings(Collection<? extends ExceptionMappingConfig> mappings) |
PackageConfig.Builder |
PackageConfig.Builder.addGlobalExceptionMappingConfigs(List<ExceptionMappingConfig> exceptionMappingConfigs) |
ActionConfig.Builder |
ActionConfig.Builder.exceptionMappings(Collection<? extends ExceptionMappingConfig> mappings) |
| Constructor and Description |
|---|
ExceptionMappingConfig.Builder(ExceptionMappingConfig toClone) |
ExceptionMappingConfig(ExceptionMappingConfig target) |
| Modifier and Type | Method and Description |
|---|---|
protected List<ExceptionMappingConfig> |
XmlConfigurationProvider.buildExceptionMappings(Element element,
PackageConfig.Builder packageContext)
Build a list of exception mapping objects from below a given XML element.
|
| Modifier and Type | Method and Description |
|---|---|
protected ExceptionMappingConfig |
ExceptionMappingInterceptor.findMappingFromExceptions(List<ExceptionMappingConfig> exceptionMappings,
Throwable t)
Try to find appropriate
ExceptionMappingConfig based on provided Throwable |
| Modifier and Type | Method and Description |
|---|---|
protected ExceptionMappingConfig |
ExceptionMappingInterceptor.findMappingFromExceptions(List<ExceptionMappingConfig> exceptionMappings,
Throwable t)
Try to find appropriate
ExceptionMappingConfig based on provided Throwable |
Copyright © 2000–2021 Apache Software Foundation. All rights reserved.