protected void sendErrorIfSender ( Throwable throwable ) { if ( ! getSender ( ) . equals ( ActorRef . noSender ( ) ) ) { getSender ( ) . tell ( new Status . Failure ( throwable ) , getSelf ( ) ) ; } }
Send throwable to sender if the sender is specified .