summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/openslx/thrifthelper/ThriftHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/thrifthelper/ThriftHandler.java b/src/main/java/org/openslx/thrifthelper/ThriftHandler.java
index 760220a..05563d0 100644
--- a/src/main/java/org/openslx/thrifthelper/ThriftHandler.java
+++ b/src/main/java/org/openslx/thrifthelper/ThriftHandler.java
@@ -72,7 +72,7 @@ class ThriftHandler<T extends TServiceClient> implements InvocationHandler
return method.invoke( client, args );
} catch ( InvocationTargetException e ) {
cause = e.getCause();
- if ( cause != null && ! ( cause instanceof TTransportException ) ) {
+ if ( cause != null && ! ( cause instanceof TException ) ) {
throw cause;
}
freeClient( client );