public static class ExceptionMappingConfig.Builder extends Object
build()
method to create the object.Modifier and Type | Field and Description |
---|---|
protected ExceptionMappingConfig |
target |
Constructor and Description |
---|
Builder(ExceptionMappingConfig toClone) |
Builder(String name,
String exceptionClassName,
String result) |
Modifier and Type | Method and Description |
---|---|
ExceptionMappingConfig.Builder |
addParam(String name,
String value) |
ExceptionMappingConfig.Builder |
addParams(Map<String,String> params) |
ExceptionMappingConfig |
build() |
protected void |
embalmTarget() |
ExceptionMappingConfig.Builder |
exceptionClassName(String name) |
ExceptionMappingConfig.Builder |
location(Location loc) |
ExceptionMappingConfig.Builder |
name(String name) |
ExceptionMappingConfig.Builder |
result(String result) |
protected ExceptionMappingConfig target
public Builder(ExceptionMappingConfig toClone)
public ExceptionMappingConfig.Builder name(String name)
public ExceptionMappingConfig.Builder exceptionClassName(String name)
public ExceptionMappingConfig.Builder result(String result)
public ExceptionMappingConfig.Builder addParam(String name, String value)
public ExceptionMappingConfig.Builder addParams(Map<String,String> params)
public ExceptionMappingConfig.Builder location(Location loc)
public ExceptionMappingConfig build()
protected void embalmTarget()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.