Changeset 3407


Ignore:
Timestamp:
May 30, 2007, 2:26:30 PM (14 years ago)
Author:
Johan Enell
Message:

added null chack to improve error text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/BioAssaySetExporter.java

    r3336 r3407  
    291291        {
    292292          QueryItem qi = qis.get(field);
     293          if (qi == null)
     294            throw new BaseException("Unknown column: "+field+" (you can add this field using a formula)");
    293295          query.select(Selects.expression(BioAssaySetUtil.createJepExpression(dc, bas, qi.getJep(), true), field));
    294296        }
     
    296298        {
    297299          QueryItem qi = qis.get(field);
     300          if (qi == null)
     301            throw new BaseException("Unknwon field: "+field+" (you can add this field using a formula)");
    298302          query.select(Selects.expression(BioAssaySetUtil.createJepExpression(dc, bas, qi.getJep(), true), field));
    299303        }
Note: See TracChangeset for help on using the changeset viewer.