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:
parent
5cff01b079
commit
c2e23902fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue