Ignore:
Timestamp:
2009-07-02 15:06:52 (3 years ago)
Author:
bruno
Message:

Introduce a TemplateException? class, and use that in the template code instead of a generic RuntimeException?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/universe/kauri-template/src/main/java/org/kauriproject/template/IfBlock.java

    r921 r1346  
    7070            String expression = attributes.getValue(TEST); 
    7171            if (expression == null) 
    72                 throw new RuntimeException("if instruction is missing required test attribute. Location: " + getLocation()); 
     72                throw new TemplateException("if instruction is missing required test attribute. Location: " + getLocation()); 
    7373 
    7474            elExpression = elFacade.createExpression(expression, Boolean.class); 
Note: See TracChangeset for help on using the changeset viewer.