org.apache.hc.core5.http2.impl.nio

## Class ProtocolNegotiationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.apache.hc.core5.http2.impl.nio.ProtocolNegotiationException

- All Implemented Interfaces:
    Serializable

      public class ProtocolNegotiationException
      extends IOException

  Signals a protocol error in HTTP protocol negotiation.
  Since:
    5.1
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtocolNegotiationException(String message)` Creates a MessageConstraintException with the specified detail message.

  - ### Method Summary

    - ### 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`

- - ### Constructor Detail

    - #### ProtocolNegotiationException

          public ProtocolNegotiationException(String message)

      Creates a MessageConstraintException with the specified detail message.
      Parameters:
        `message` - The exception detail message

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.