com.twitter.finatra.thrift.thriftscala

ServerError

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

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

Instance Constructors

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

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _1: ServerErrorCause

    Definition Classes
    ServerError → Product2
  7. def _2: String

    Definition Classes
    ServerError → Product2
  8. val _passthroughFields: Map[Short, TFieldBlob]

  9. final def addSuppressed(arg0: Throwable): Unit

    Definition Classes
    Throwable
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def canEqual(other: Any): Boolean

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

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

  14. final def eq(arg0: AnyRef): Boolean

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

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

  17. def exceptionMessage(): String

    Definition Classes
    HasRemoteInfo
  18. def fillInStackTrace(): Throwable

    Definition Classes
    Throwable
  19. def finalize(): Unit

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

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

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

    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.

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

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

  24. def getLocalizedMessage(): String

    Definition Classes
    Throwable
  25. def getMessage(): String

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

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

    Definition Classes
    Throwable
  28. def hashCode(): Int

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

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

    Definition Classes
    Any
  31. val message: String

  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

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

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

    Definition Classes
    Throwable
  37. def printStackTrace(): Unit

    Definition Classes
    Throwable
  38. def productArity: Int

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

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

    Definition Classes
    Product
  41. def productPrefix: String

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

    Definition Classes
    HasRemoteInfo
  43. var serviceName: String

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

    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.

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

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

    Definition Classes
    AnyRef
  47. def toString(): String

    Definition Classes
    ServerError → Throwable → AnyRef → Any
  48. def unsetErrorCause: ServerError

    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

    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

  51. final def wait(): Unit

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

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

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

    Definition Classes
    ServerError → ThriftStruct

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