public static SQLException toSQLException(Throwable t) { if (t instanceof SQLException) return (SQLException) t; else { if (Debug.DEBUG) t.printStackTrace(); return new SQLException( ThrowableUtils.extractStackTrace(t) ); } }
public static boolean isUnchecked(Throwable t) { return ! isChecked( t ); }
public String sampleLastCheckoutFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastCheckoutFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public static boolean isUnchecked(Throwable t) { return ! isChecked( t ); }
public String sampleLastConnectionTestFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastConnectionTestFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public static boolean isUnchecked(Throwable t) { return ! isChecked( t ); }
public String sampleLastAcquisitionFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastAcquisitionFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckinFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastCheckinFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckinFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastCheckinFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckoutFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastCheckoutFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastConnectionTestFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastConnectionTestFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastAcquisitionFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastAcquisitionFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastIdleTestFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastIdleTestFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastIdleTestFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastIdleTestFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastConnectionTestFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastConnectionTestFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastIdleTestFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastIdleTestFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckoutFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastCheckoutFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckoutFailureStackTraceDefaultUser() throws SQLException { Throwable t = getLastCheckoutFailureDefaultUser(); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastCheckoutFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastCheckoutFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }
public String sampleLastIdleTestFailureStackTrace(String username, String password) throws SQLException { Throwable t = getLastIdleTestFailure(username, password); return t == null ? null : ThrowableUtils.extractStackTrace( t ); }