public class ProtocolException extends Exception
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolException.Violation
Enum to capture two types of possible protocol violations.
|
| Constructor and Description |
|---|
ProtocolException(ProtocolException.Violation vilation) |
ProtocolException(ProtocolException.Violation vilation,
String msg) |
| Modifier and Type | Method and Description |
|---|---|
ProtocolException.Violation |
getVilation() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProtocolException(ProtocolException.Violation vilation)
public ProtocolException(ProtocolException.Violation vilation, String msg)
public ProtocolException.Violation getVilation()
Copyright © 2019. All rights reserved.