fixed outstanding remoting bugs and issues

This commit is contained in:
jboner 2009-07-24 00:41:42 +02:00
parent 1570fc6732
commit f016ed4216
12 changed files with 601 additions and 168 deletions

View file

@ -170,6 +170,7 @@ class RemoteClientHandler(val futures: ConcurrentMap[Long, CompletableFutureResu
private def parseException(reply: RemoteReply) = {
val exception = reply.getException
println("-------------- " + exception)
val exceptionType = Class.forName(exception.substring(0, exception.indexOf('$')))
val exceptionMessage = exception.substring(exception.indexOf('$') + 1, exception.length)
exceptionType