Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 3bcff85

Browse files
committed
Fix exception handling in Thrift provider to be compatible with JDK 5.0
git-svn-id: https://svn.apache.org/repos/asf/incubator/wink/trunk@1420514 13f79535-47bb-0310-9956-ffa450edef68
1 parent 367bded commit 3bcff85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wink-providers/wink-thrift-provider/src/main/java/org/apache/wink/providers/thrift/WinkThriftProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static <T extends TBase> void marshal(T t, MediaType mediaType, OutputStream ent
112112
try {
113113
t.write(protocol);
114114
} catch (TException e) {
115-
throw new IOException(e);
115+
throw new IOException(e.getMessage());
116116
}
117117
}
118118
}

0 commit comments

Comments
 (0)