Packages

c

com.twitter.finagle

StreamClosedException

abstract class StreamClosedException extends ChannelException with FailureFlags[StreamClosedException] with NoStackTrace

Indicates that a given stream was closed, for instance if the stream was reset by a peer or a proxy.

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamClosedException
  2. NoStackTrace
  3. FailureFlags
  4. ChannelException
  5. HasLogLevel
  6. SourcedException
  7. HasRemoteInfo
  8. Exception
  9. Throwable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamClosedException(remoteAddress: Option[SocketAddress], streamId: Int)
  2. new StreamClosedException(remoteAddress: Option[SocketAddress], streamId: Long, flags: Long)

Abstract Value Members

  1. abstract def copyWithFlags(flags: Long): StreamClosedException

    A copy of this object with the given flags replacing the current flags.

    A copy of this object with the given flags replacing the current flags. The caller of this method should check to see if a copy is necessary before calling.

    As this is an internal API, the other Throwable fields such as the cause and stack trace should be handled by callers.

    Attributes
    protected
    Definition Classes
    FailureFlags
  2. abstract def whyFailed: String

    Description of why this stream failed

    Description of why this stream failed

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asNonRetryable: StreamClosedException

    This as a non-retryable failure.

    This as a non-retryable failure. This does not mutate.

    Definition Classes
    FailureFlags
  7. def asRejected: StreamClosedException

    This as a rejected failure.

    This as a rejected failure. This does not mutate.

    Definition Classes
    FailureFlags
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def exceptionMessage(): String
  12. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. val flags: Long
    Definition Classes
    StreamClosedExceptionFailureFlags
  15. def getCause(): Throwable
    Definition Classes
    Throwable
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  18. def getMessage(): String
    Definition Classes
    HasRemoteInfo → Throwable
  19. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  20. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  23. def isFlagged(which: Long): Boolean

    Test if this is flagged with a particular set of flags

    Test if this is flagged with a particular set of flags

    Definition Classes
    FailureFlags
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def logLevel: Level
    Definition Classes
    ChannelException → HasLogLevel
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  30. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  31. def printStackTrace(): Unit
    Definition Classes
    Throwable
  32. def remoteAddress: SocketAddress

    The SocketAddress of the remote peer.

    The SocketAddress of the remote peer.

    returns

    null if not available.

    Definition Classes
    ChannelException
  33. def remoteInfo(): RemoteInfo
    Definition Classes
    HasRemoteInfo
  34. val serviceName: String
    Definition Classes
    SourcedException
  35. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from NoStackTrace

Inherited from ChannelException

Inherited from HasLogLevel

Inherited from SourcedException

Inherited from HasRemoteInfo

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped