public class ProtocolException extends java.lang.RuntimeException implements TransportException
Constructor and Description |
---|
ProtocolException(java.lang.String msg) |
ProtocolException(java.lang.String msg,
ProtocolVersion forcedProtocolVersion) |
Modifier and Type | Method and Description |
---|---|
ExceptionCode |
code()
The exception code.
|
ProtocolVersion |
getForcedProtocolVersion() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public ProtocolException(java.lang.String msg)
public ProtocolException(java.lang.String msg, ProtocolVersion forcedProtocolVersion)
public ExceptionCode code()
TransportException
code
in interface TransportException
public ProtocolVersion getForcedProtocolVersion()
Copyright © 2009-2020 The Apache Software Foundation