public class ConnectionClosedException extends IOException
Thrown by a connection server when it receives a request for a connection that it has decided to close. The client reacts by opening a new connection. This reconnection happens inside the connector client. User code should never see this exception.
| Constructor and Description |
|---|
ConnectionClosedException()
Constructs a
ConnectionClosedException with
null as its error detail message. |
ConnectionClosedException(String msg)
Constructs a
ConnectionClosedException with the
specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConnectionClosedException()
Constructs a ConnectionClosedException with
null as its error detail message.
public ConnectionClosedException(String msg)
Constructs a ConnectionClosedException with the
specified detail message. The error message string
s can later be retrieved by the Throwable.getMessage() method of class
java.lang.Throwable.
msg - the detail message.Copyright © 2019 Terracotta, Inc.. All rights reserved.