}
	public error user_pass( int dom_id, String login, String pass ) 			throws null_error, db_error, except { try {				CallableStatement call = con.prepareCall("{ ? = call user_pass(?, ?, ?)}");		int idx=1;		call.registerOutParameter(idx++, Types.INTEGER);		call.setInt(idx++, dom_id);		call.setString(idx++, login.toLowerCase());		call.setString(idx++, pass);		call.execute();				int res = call.getInt(1);		if(call.wasNull() )			return lr(err_code.err_func_res, "USER_PASS");		if( res < 0 ) {			switch( res ) {			case -1:				return lr(err_code.err_exists, "");			default:				return lr(err_code.err_func_res, "USER_PASS");			} 		}		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);	} }