} catch (IllegalArgumentException e) {
throw new BindingException(e);
} catch (InvocationTargetException e) {
- throw new BindingException(e);
+ throw new BindingException(e.getCause());
}
}
} catch (IllegalAccessException e) {
throw new BindingException(e);
} catch (InvocationTargetException e) {
- throw new BindingException(e);
+ throw new BindingException(e.getCause());
}
}
} catch (IllegalArgumentException e) {
throw new BindingException(e);
} catch (InvocationTargetException e) {
- throw new BindingException(e);
+ throw new BindingException(e.getCause());
}
}
} catch (IllegalArgumentException e) {
throw new BindingException(e);
} catch (InvocationTargetException e) {
- e.printStackTrace();
- throw new BindingException(e);
+ e.getCause().printStackTrace();
+ throw new BindingException(e.getCause());
}
}
@Override
} catch (IllegalArgumentException e) {
throw new BindingException(e);
} catch (InvocationTargetException e) {
- throw new BindingException(e);\r
+ throw new BindingException(e.getCause());\r
}
}\r
\r