Example usage for java.sql SQLNonTransientConnectionException SQLNonTransientConnectionException

List of usage examples for java.sql SQLNonTransientConnectionException SQLNonTransientConnectionException

Introduction

In this page you can find the example usage for java.sql SQLNonTransientConnectionException SQLNonTransientConnectionException.

Prototype

public SQLNonTransientConnectionException(Throwable cause) 

Source Link

Document

Constructs a SQLNonTransientConnectionException object with a given cause.

Usage

From source file:com.micromux.cassandra.jdbc.CassandraConnection.java

private void checkNotClosed() throws SQLException {
    if (isClosed())
        throw new SQLNonTransientConnectionException(WAS_CLOSED_CON);
}