private ExceptionType type3;
private void setupPolicies() {
strategy = new DefaultExceptionPolicyStrategy();
policies = new HashMap<ExceptionPolicyKey, ExceptionType>();
type1 = new ExceptionType(CamelExchangeException.class);
type2 = new ExceptionType(Exception.class);
type3 = new ExceptionType(IOException.class);
policies.put(ExceptionPolicyKey.newInstance(CamelExchangeException.class), type1);
policies.put(ExceptionPolicyKey.newInstance(Exception.class), type2);
policies.put(ExceptionPolicyKey.newInstance(IOException.class), type3);
}