Changed UnknownRemoteException to CannotInstantiateRemoteExceptionDueToRemoteProtocolParsingErrorException - should be more clear now.
This commit is contained in:
parent
0d23cf157a
commit
e6c658f58d
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ class RemoteClientException private[akka] (
|
||||||
/**
|
/**
|
||||||
* Returned when a remote exception sent over the wire cannot be loaded and instantiated
|
* Returned when a remote exception sent over the wire cannot be loaded and instantiated
|
||||||
*/
|
*/
|
||||||
case class UnknownRemoteException private[akka] (cause: Throwable, originalClassName: String, originalMessage: String)
|
case class CannotInstantiateRemoteExceptionDueToRemoteProtocolParsingErrorException private[akka] (cause: Throwable, originalClassName: String, originalMessage: String)
|
||||||
extends AkkaException("\nParsingError[%s]\nOriginalException[%s]\nOriginalMessage[%s]"
|
extends AkkaException("\nParsingError[%s]\nOriginalException[%s]\nOriginalMessage[%s]"
|
||||||
.format(cause.toString, originalClassName, originalMessage)) {
|
.format(cause.toString, originalClassName, originalMessage)) {
|
||||||
override def printStackTrace = cause.printStackTrace
|
override def printStackTrace = cause.printStackTrace
|
||||||
|
|
|
||||||
|
|
@ -546,7 +546,7 @@ class ActiveRemoteClientHandler(
|
||||||
} catch {
|
} catch {
|
||||||
case problem: Throwable =>
|
case problem: Throwable =>
|
||||||
EventHandler.error(problem, this, problem.getMessage)
|
EventHandler.error(problem, this, problem.getMessage)
|
||||||
UnknownRemoteException(problem, classname, exception.getMessage)
|
CannotInstantiateRemoteExceptionDueToRemoteProtocolParsingErrorException(problem, classname, exception.getMessage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue