summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b838ecc)
Use InvocationTargetException.getCause() in cases where a new exception is constructed to be thrown
git-svn-id: https://www.simantics.org/svn/simantics/3d/trunk@33144
ac1ea38d-2e2b-0410-8846-
a27921b304fc
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
}\r
return removing.size() > 0 || adding.size() > 0;\r
\r
}\r
return removing.size() > 0 || adding.size() > 0;\r
\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
}\r
return removing.size() > 0 || adding.size() > 0;\r
\r
}\r
return removing.size() > 0 || adding.size() > 0;\r
\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalAccessException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r
} catch (IllegalArgumentException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
} catch (IllegalArgumentException e) {\r
throw new MappingException(e);\r
} catch (InvocationTargetException e) {\r
- throw new MappingException(e);\r
+ throw new MappingException(e.getCause());\r