Changeset 20751
- Timestamp:
- 28/02/10 16:26:48 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/intermine/api/main/src/org/intermine/api/template/TemplatePrecomputeHelper.java
r20719 r20751 70 70 TemplateQuery templateClone = template.cloneWithoutEditableConstraints(); 71 71 72 /* don't throw exception here. this method is called on all pages that display templates73 * if we throw an exception here, the user will never be able to edit the template */74 72 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."); 78 75 } 79 76
Note: See TracChangeset
for help on using the changeset viewer.
