Packages

c

com.twitter.finagle

ServiceClosedException

class ServiceClosedException extends Exception with ServiceException with FailureFlags[ServiceClosedException]

Indicates that a request was applied to a com.twitter.finagle.Service that is closed (i.e. the connection is closed).

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServiceClosedException
  2. FailureFlags
  3. ServiceException
  4. SourcedException
  5. HasRemoteInfo
  6. Exception
  7. Throwable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ServiceClosedException(flags: Long = FailureFlags.Retryable)

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. val appId: String
    Definition Classes
    SourcedException
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asNonRetryable: ServiceClosedException

    This as a non-retryable failure.

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

    Definition Classes
    FailureFlags
  8. def asRejected: ServiceClosedException

    This as a rejected failure.

    This as a rejected failure. This does not mutate.

    Definition Classes
    FailureFlags
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def copyWithFlags(newFlags: Long): ServiceClosedException

    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
    ServiceClosedExceptionFailureFlags
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def exceptionMessage(): String
  14. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. val flags: Long
    Definition Classes
    ServiceClosedExceptionFailureFlags
  17. def getCause(): Throwable
    Definition Classes
    Throwable
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  20. def getMessage(): String
    Definition Classes
    HasRemoteInfo → Throwable
  21. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  22. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  25. 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
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  31. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  32. def printStackTrace(): Unit
    Definition Classes
    Throwable
  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(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ServiceException

Inherited from SourcedException

Inherited from HasRemoteInfo

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped