Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include the inner exception in UnknownChannelFailure's toString

  • Loading branch information...
commit 24a36c04c6628325cc382c041d6dd3dcfae75fe9 1 parent 81fdcd4
@mariusae mariusae authored
View
4 finagle-core/src/main/scala/com/twitter/finagle/Exceptions.scala
@@ -15,7 +15,9 @@ class ConnectionFailedException extends ChannelException
class ChannelClosedException extends ChannelException
class SpuriousMessageException extends ChannelException
class IllegalMessageException extends ChannelException
-class UnknownChannelException(e: Throwable) extends ChannelException
+class UnknownChannelException(e: Throwable) extends ChannelException {
+ override def toString = "%s: %s".format(super.toString, e.toString)
+}
class WriteException(e: Throwable) extends ChannelException {
override def toString = "%s: %s".format(super.toString, e.toString)
}
Please sign in to comment.
Something went wrong with that request. Please try again.