public CatalogEntry(int type,Vector args) throws CatalogException {
  try {
    Integer iArgs=(Integer)entryArgs.get(type);
    if (iArgs.intValue() != args.size()) {
      throw new CatalogException(CatalogException.INVALID_ENTRY);
    }
  }
 catch (  ArrayIndexOutOfBoundsException e) {
    throw new CatalogException(CatalogException.INVALID_ENTRY_TYPE);
  }
  entryType=type;
  this.args=args;
}

public CatalogEntry ( int type , Vector args ) throws CatalogException { try { Integer iArgs = ( Integer ) entryArgs . get ( type ) ; if ( iArgs . intValue ( ) != args . size ( ) ) { throw new CatalogException ( CatalogException . INVALID_ENTRY ) ; } } catch ( ArrayIndexOutOfBoundsException e ) { throw new CatalogException ( CatalogException . INVALID_ENTRY_TYPE ) ; } entryType = type ; this . args = args ; }
construct a catalog entry of the specified type .
