if( res.wasNull() ) return lr(err_code.err_noent, Integer.toString(dom_id));
if( res.wasNull() ) { ec = err_code.err_noent; ec_msg = Integer.toString(dom_id); break; }
	public error dom_name( int dom_id, StringHolder domain )			throws null_error, db_error, except { try {		domain.value = "";		PreparedStatement st = null;		ResultSet res = null;		try {			st = con.prepareStatement( 				"SELECT domain FROM vq_view_DOM_NAME WHERE id_domain=?" );			st.setInt(1, dom_id);			res = st.executeQuery();			while(res.next()) {				domain.value = res.getString(1);				if( res.wasNull() ) 					return lr(err_code.err_noent, Integer.toString(dom_id));			}		} finally {			try { if(res != null) res.close(); } catch(Exception e) {}			try { if(st != null) st.close(); } catch(Exception e) {}		}		return lr(err_code.err_no, "");	} catch( SQLException e ) {		throw new db_error(e.getMessage(), getClass().getName(), 0);	} catch( NullPointerException e ) {		throw new null_error(e.getMessage(), getClass().getName(), 0);	} catch( Exception e ) {		throw new except(e.getMessage(), getClass().getName(), 0);	} }