Changeset 1346 for trunk/universe/kauri-template/src/main/java/org/kauriproject/template/SuperBlock.java
- Timestamp:
- 2009-07-02 15:06:52 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/universe/kauri-template/src/main/java/org/kauriproject/template/SuperBlock.java
r894 r1346 66 66 public Step executeAndProceed(ExecutionContext context, TemplateResult result) throws SAXException { 67 67 if (!context.isInherited()) { 68 throw new RuntimeException(68 throw new TemplateException( 69 69 "No template inheritance, so call to super block not possible, location " 70 70 + getLocation()); … … 79 79 return chain.get(index + 1).getStartStep().getCompiledNext(); 80 80 } else { 81 throw new RuntimeException("Parent block not found for " + inheritanceBlock.getName()81 throw new TemplateException("Parent block not found for " + inheritanceBlock.getName() 82 82 + ", location " + getLocation()); 83 83 }
Note: See TracChangeset
for help on using the changeset viewer.