Fixing FutureTimeoutException so that it has a String constructor so it's deserializable in remoting

This commit is contained in:
Viktor Klang 2011-08-08 15:38:22 +02:00
parent 49a61e2c98
commit 5c4488730f

View file

@ -25,7 +25,9 @@ import akka.util.{ Switch, Duration, BoxedType }
import java.util.concurrent.atomic.{ AtomicReference, AtomicBoolean }
import scala.Math
class FutureTimeoutException(message: String, cause: Throwable = null) extends AkkaException(message, cause)
class FutureTimeoutException(message: String, cause: Throwable = null) extends AkkaException(message, cause) {
def this(message: String) = this(message, null)
}
object Futures {