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/el/Expression.java

    r999 r1346  
    5151        } 
    5252 
     53        /** 
     54         * Returns null if value is not recongized. 
     55         */ 
    5356        public static ExpressionParser fromString(String value) { 
    5457            if (value.equals(EL.id)) 
     
    5760                return GROOVY; 
    5861            else 
    59                 return null;// throw RuntimeException ? 
     62                return null; 
    6063        } 
    6164    } 
Note: See TracChangeset for help on using the changeset viewer.