public class ExceptionConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
excludes |
protected Set<String> |
includes |
Constructor and Description |
---|
ExceptionConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Exception e) |
Set<String> |
getExcludes() |
Set<String> |
getIncludes() |
static void |
wrapBatchException(Exception e)
Helper method to wrap unknown Exceptions into a
BatchContainerRuntimeException . |
public static void wrapBatchException(Exception e)
BatchContainerRuntimeException
.
This method can be used to handle Exceptions which are actually already catched inside of our proxies.public boolean accept(Exception e)
Copyright © 2017 The Apache Software Foundation. All rights reserved.