Class H2ConnectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class H2ConnectionException
    extends java.io.IOException
    Signals fatal HTTP/2 protocol violation that renders the actual HTTP/2 connection unreliable.
    Since:
    5.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int code  
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • code

        private final int code
    • Constructor Detail

      • H2ConnectionException

        public H2ConnectionException​(H2Error error,
                                     java.lang.String message)
      • H2ConnectionException

        public H2ConnectionException​(int code,
                                     java.lang.String message)
    • Method Detail

      • getCode

        public int getCode()