List of usage examples for java.sql SQLClientInfoException initCause
public synchronized Throwable initCause(Throwable cause)
From source file:com.adaptris.jdbc.connection.FailoverDataSource.java
protected static SQLClientInfoException wrapSQLClientInfoException(Exception e) { if (e instanceof SQLClientInfoException) { return (SQLClientInfoException) e; }/* w w w . java2 s .c om*/ SQLClientInfoException e2 = new SQLClientInfoException(); e2.initCause(e); return e2; }