fixed outstanding remoting bugs and issues
This commit is contained in:
parent
1570fc6732
commit
f016ed4216
12 changed files with 601 additions and 168 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue