Code example for UnknownUnwrapTypeException

0
		if ( ConnectionProvider.class.equals( unwrapType ) ||
				UserSuppliedConnectionProviderImpl.class.isAssignableFrom( unwrapType ) ) {
			return (T) this;
		} 
		else { 
			throw new UnknownUnwrapTypeException( unwrapType );
		} 
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public Connection getConnection() throws SQLException {
		throw new UnsupportedOperationException( "The application must supply JDBC connections" );
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public void closeConnection(Connection conn) throws SQLException {
Stop searching for code, let great code find you!  Add Codota to your java IDE