[KARAF-3335]make endorsed java.lang.Exception compatible with JDK7
Merge branch 'karaf-3.0.x' of https://git-wip-us.apache.org/repos/asf/karaf into karaf-3.0.x