Top Description Fields Constructors Methods
org.glassfish.grizzly.http2

public final Class Http2StreamException

extends IOException
Class Inheritance
Imports
java.io.IOException, org.glassfish.grizzly.http2.frames.ErrorCode

HTTP/2 Stream exception.
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
private final ErrorCode
private final int

Constructor Summary

AccessConstructor and Description
public
Http2StreamException(final int streamId, final ErrorCode errorCode)

public
Http2StreamException(final int streamId, final ErrorCode errorCode, final String description)

public
Http2StreamException(final int streamId, final ErrorCode errorCode, final Throwable cause)

public
Http2StreamException(final int streamId, final ErrorCode errorCode, final String description, final Throwable cause)

Method Summary

Modifier and TypeMethod and Description
public ErrorCode
public int
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

errorCodeback to summary
private final ErrorCode errorCode
streamIdback to summary
private final int streamId

Constructor Detail

Http2StreamExceptionback to summary
public Http2StreamException(final int streamId, final ErrorCode errorCode)
Http2StreamExceptionback to summary
public Http2StreamException(final int streamId, final ErrorCode errorCode, final String description)
Http2StreamExceptionback to summary
public Http2StreamException(final int streamId, final ErrorCode errorCode, final Throwable cause)
Http2StreamExceptionback to summary
public Http2StreamException(final int streamId, final ErrorCode errorCode, final String description, final Throwable cause)

Method Detail

getErrorCodeback to summary
public ErrorCode getErrorCode()
getStreamIdback to summary
public int getStreamId()
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Annotations
@Override