Example usage for java.sql SQLRecoverableException SQLRecoverableException

List of usage examples for java.sql SQLRecoverableException SQLRecoverableException

Introduction

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

Prototype

public SQLRecoverableException(Throwable cause) 

Source Link

Document

Constructs a SQLRecoverableException object with a given cause.

Usage

From source file:com.github.adejanovski.cassandra.jdbc.CassandraStatement.java

protected final void checkNotClosed() throws SQLException {
    if (isClosed())
        throw new SQLRecoverableException(WAS_CLOSED_STMT);
}