Add an exclude for the new in Java7 Throwable.getSuppressed method which breaks jaxb serialization

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1205796 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2011-11-24 11:28:14 +00:00
parent 5cff01b079
commit c2e23902fb

View file

@ -53,7 +53,7 @@ public class FaultBeanGenerator extends BaseBeanGenerator {
for (PropertyDescriptor pd : beanInfo.getPropertyDescriptors()) {
if (pd.getReadMethod() != null) {
String name = pd.getReadMethod().getName();
if ("getClass".equals(name) || "getStackTrace".equals(name)
if ("getClass".equals(name) || "getStackTrace".equals(name) || "getSuppressed".equals(name)
|| "getCause".equals(name)
|| "getLocalizedMessage".equals(name)) {
continue;