Example usage for java.sql SQLClientInfoException setNextException

List of usage examples for java.sql SQLClientInfoException setNextException

Introduction

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

Prototype

public void setNextException(SQLException ex) 

Source Link

Document

Adds an SQLException object to the end of the chain.

Usage

From source file:net.starschema.clouddb.jdbc.BQConnection.java

/**
 * <p>/* ww  w. jav a2 s . co  m*/
 * <h1>Implementation Details:</h1><br>
 * Not implemented yet.
 * </p>
 * 
 * @throws BQSQLException
 */
@Override
public void setClientInfo(Properties properties) throws SQLClientInfoException {
    SQLClientInfoException e = new SQLClientInfoException();
    e.setNextException(new BQSQLException("Not implemented. setClientInfo(properties)"));
    throw e;
}

From source file:net.starschema.clouddb.jdbc.BQConnection.java

/**
 * <p>//www.ja  v  a 2s  .c o m
 * <h1>Implementation Details:</h1><br>
 * Not implemented yet.
 * </p>
 * 
 * @throws BQSQLException
 */
@Override
public void setClientInfo(String name, String value) throws SQLClientInfoException {
    SQLClientInfoException e = new SQLClientInfoException();
    e.setNextException(new BQSQLException("Not implemented. setClientInfo(properties)"));
    throw e;
}