Changeset 20751


Ignore:
Timestamp:
28/02/10 16:26:48 (2 years ago)
Author:
julie
Message:

revert change made in [20719]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/intermine/api/main/src/org/intermine/api/template/TemplatePrecomputeHelper.java

    r20719 r20751  
    7070        TemplateQuery templateClone = template.cloneWithoutEditableConstraints(); 
    7171 
    72         /* don't throw exception here.  this method is called on all pages that display templates 
    73          * if we throw an exception here, the user will never be able to edit the template */ 
    7472        if (template.getBagNames().size() != 0) { 
    75            String msg = "Precomputed query can't be created for a template with a list."; 
    76            LOG.error(msg); 
    77            return null; 
     73        throw new RuntimeException("Precomputed query can't be created "  
     74                       + "for a template with a list.");  
    7875        } 
    7976 
Note: See TracChangeset for help on using the changeset viewer.