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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic ProtocolException(java.lang.String msg)
public ProtocolException(java.lang.String msg,
ProtocolVersion forcedProtocolVersion)
public ExceptionCode code()
TransportExceptioncode in interface TransportExceptionpublic ProtocolVersion getForcedProtocolVersion()
Copyright © 2018 The Apache Software Foundation