Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

char * Villa::name (  )  throws VillaException [inline]

Get the name of the database.

Returns:
the string of the name of the database.
Exceptions:
VillaException if an error occurs.

Definition at line 520 of file Villa.java.

References index.

Referenced by remove(), and Villa().

                                             {
    if(index < 0) throw new VillaException();
    synchronized(ADBM.class){
      String buf = vlname(index);
      if(buf == null) throw new VillaException(vlecode());
      return buf;
    }
  }


Generated by  Doxygen 1.6.0   Back to index