HBASE-453 undeclared throwable exception from HTable.get

Instead of wrapping UndeclaredThrowableException in a new IOException, wrap UndeclaredThrowableException.getCause

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654267 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Kellerman 2008-05-07 20:39:14 +00:00
parent 4aa78f4f28
commit 64842079e0
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ public class HbaseRPC {
e = (IOException) t;
} else {
e = new IOException("error during RPC call");
e.initCause(t);
e.initCause(t.getCause());
}
throw e;
}