Example usage for org.apache.http.impl.conn ConnectionShutdownException ConnectionShutdownException

List of usage examples for org.apache.http.impl.conn ConnectionShutdownException ConnectionShutdownException

Introduction

In this page you can find the example usage for org.apache.http.impl.conn ConnectionShutdownException ConnectionShutdownException.

Prototype

public ConnectionShutdownException() 

Source Link

Document

Creates a new ConnectionShutdownException with a null detail message.

Usage

From source file:org.opendatakit.http.conn.GaeManagedClientConnection.java

/**
 * Asserts that there is a valid wrapped connection to delegate to.
 *
 * @throws ConnectionShutdownException if there is no wrapped connection
 *                                  or connection has been aborted
 *///  ww w  .  j a  v a2s  .  c o m
protected final void assertValid(final OperatedClientConnection wrappedConn)
        throws ConnectionShutdownException {
    if (isReleased() || wrappedConn == null) {
        throw new ConnectionShutdownException();
    }
}