Http2Exception

sealed abstract class Http2Exception(msg: String) extends Exception with NoStackTrace with Product with Serializable
Companion
object
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def code: Long

Concrete methods

final def isRefusedStream: Boolean

Was the exception due to refusal by the peer.

Was the exception due to refusal by the peer.

These exceptions are safe to automatically retry even if the HTTP method is not an idempotent method. See https://tools.ietf.org/html/rfc7540#section-8.1.4 for more details.

final def msgBuffer(): ByteBuffer

serialize the message as a ByteBuffer

serialize the message as a ByteBuffer

final def name: String

Convert this exception to a session exception

Convert this exception to a session exception

final def toStreamException(streamId: Int): Http2StreamException

Convert this exception to a stream exception

Convert this exception to a stream exception

Note

If this is already a stream exception but with a different stream id, the id will be changed

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from
Throwable
def canEqual(that: Any): Boolean
Inherited from
Equals
override def fillInStackTrace(): Throwable
Definition Classes
NoStackTrace -> Throwable
Inherited from
NoStackTrace
def getCause(): Throwable
Inherited from
Throwable
def getLocalizedMessage(): String
Inherited from
Throwable
def getMessage(): String
Inherited from
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from
Throwable
def printStackTrace(): Unit
Inherited from
Throwable
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
Inherited from
NoStackTrace
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from
Throwable
def toString(): String
Inherited from
Throwable