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

    r1110 r1346  
    7878            MacroBlock block = context.getMacroRegistry().get(getName()); 
    7979            if (block == null) { 
    80                 throw new RuntimeException("KTL: macro " + getName() + " not found, location " 
    81                         + getLocation()); 
     80                throw new TemplateException("Macro " + getName() + " not found, location " + getLocation()); 
    8281            } 
    8382 
Note: See TracChangeset for help on using the changeset viewer.