if( call.wasNull() || dom_id.value == -1 )
boolean wasNull = call.wasNull(); try { call.close(); } catch( Exception e ) {};  if( wasNull || dom_id.value == -1 )
	public error dom_id( String dom, IntHolder dom_id )			throws null_error, db_error, except { try {		dom_id.value = 0;		dom = dom.toLowerCase();		String func = "DOM_ID";		CallableStatement call = con.prepareCall( "{ ? = call "+func+"(?) }" );		int idx=1;		call.registerOutParameter(idx++, Types.INTEGER);		call.setString(idx++, dom);		call.execute();		dom_id.value = call.getInt(1);		if( call.wasNull() || dom_id.value == -1 ) 			return lr(err_code.err_noent, dom);		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);	} }