Class/Object

com.twitter.finatra.thrift.thriftscala

ServerError

Related Docs: object ServerError | package thriftscala

Permalink

class ServerError extends Exception with ThriftException with SourcedException with ThriftStruct with Product2[ServerErrorCause, String] with HasThriftStructCodec3[ServerError] with Serializable

Prefer the companion object's com.twitter.finatra.thrift.thriftscala.ServerError.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
HasThriftStructCodec3[ServerError], Product2[ServerErrorCause, String], Product, Equals, ThriftStruct, SourcedException, HasRemoteInfo, ThriftException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerError
  2. HasThriftStructCodec3
  3. Product2
  4. Product
  5. Equals
  6. ThriftStruct
  7. SourcedException
  8. HasRemoteInfo
  9. ThriftException
  10. Exception
  11. Throwable
  12. Serializable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerError(errorCause: ServerErrorCause, message: String)

    Permalink
  2. new ServerError(errorCause: ServerErrorCause, message: String, _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: ServerErrorCause

    Permalink
    Definition Classes
    ServerError → Product2
  5. def _2: String

    Permalink
    Definition Classes
    ServerError → Product2
  6. def _codec: ThriftStructCodec3[ServerError]

    Permalink
    Definition Classes
    ServerError → HasThriftStructCodec3
  7. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  8. final def addSuppressed(arg0: Throwable): Unit

    Permalink
    Definition Classes
    Throwable
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    ServerError → Equals
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def copy(errorCause: ServerErrorCause = this.errorCause, message: String = this.message, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ServerError

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    ServerError → Equals → AnyRef → Any
  15. val errorCause: ServerErrorCause

    Permalink
  16. def exceptionMessage(): String

    Permalink
    Definition Classes
    HasRemoteInfo
  17. def fillInStackTrace(): Throwable

    Permalink
    Definition Classes
    Throwable
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def getCause(): Throwable

    Permalink
    Definition Classes
    Throwable
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

  22. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  23. def getLocalizedMessage(): String

    Permalink
    Definition Classes
    Throwable
  24. def getMessage(): String

    Permalink
    Definition Classes
    ServerError → HasRemoteInfo → Throwable
  25. def getStackTrace(): Array[StackTraceElement]

    Permalink
    Definition Classes
    Throwable
  26. final def getSuppressed(): Array[Throwable]

    Permalink
    Definition Classes
    Throwable
  27. def hashCode(): Int

    Permalink
    Definition Classes
    ServerError → AnyRef → Any
  28. def initCause(arg0: Throwable): Throwable

    Permalink
    Definition Classes
    Throwable
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. val message: String

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def printStackTrace(arg0: PrintWriter): Unit

    Permalink
    Definition Classes
    Throwable
  35. def printStackTrace(arg0: PrintStream): Unit

    Permalink
    Definition Classes
    Throwable
  36. def printStackTrace(): Unit

    Permalink
    Definition Classes
    Throwable
  37. def productArity: Int

    Permalink
    Definition Classes
    ServerError → Product2 → Product
  38. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ServerError → Product2 → Product
  39. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  40. def productPrefix: String

    Permalink
    Definition Classes
    ServerError → Product
  41. def remoteInfo(): RemoteInfo

    Permalink
    Definition Classes
    HasRemoteInfo
  42. var serviceName: String

    Permalink
    Definition Classes
    SourcedException
  43. def setField(_blob: TFieldBlob): ServerError

    Permalink

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

  44. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Permalink
    Definition Classes
    Throwable
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    ServerError → Throwable → AnyRef → Any
  47. def toTuple: (ServerErrorCause, String)

    Permalink
  48. def unsetErrorCause: ServerError

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  49. def unsetField(_fieldId: Short): ServerError

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  50. def unsetMessage: ServerError

    Permalink
  51. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ServerError → ThriftStruct

Inherited from HasThriftStructCodec3[ServerError]

Inherited from Product2[ServerErrorCause, String]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from SourcedException

Inherited from HasRemoteInfo

Inherited from ThriftException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped