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/InheritBlock.java

    r1020 r1346  
    8080                baseTemplate = templateService.buildTemplate(sourceLocation, context); 
    8181            } catch (Exception ex) { 
    82                 throw new RuntimeException("Error parsing inherited template specified at location " + getLocation(), ex); 
     82                throw new TemplateException("Error parsing inherited template specified at location " + getLocation(), ex); 
    8383            } 
    8484 
Note: See TracChangeset for help on using the changeset viewer.