Simplifying remote error interception and getting rid of retarded exception back-propagation

This commit is contained in:
Viktor Klang 2011-11-09 12:49:51 +01:00
parent b6d53aa54f
commit ed3ff933fa
2 changed files with 5 additions and 15 deletions

View file

@ -301,9 +301,6 @@ trait RemoteMarshallingOps {
messageBuilder
}
def createErrorReplyMessage(exception: Throwable, request: RemoteMessageProtocol): AkkaRemoteProtocol =
createMessageSendEnvelope(createRemoteMessageProtocolBuilder(Right(request.getSender), Left(exception), None).build)
def receiveMessage(remoteMessage: RemoteMessage, untrustedMode: Boolean) {
val recipient = remoteMessage.recipient