buildframework/helium/sf/java/legacy/src/com/nokia/ant/util/Helper.java
changeset 628 7c4a911dc066
parent 587 85df38eb4012
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    27     private Helper() { }
    27     private Helper() { }
    28     
    28     
    29     public static String getProperty(Project project, String val) throws Exception
    29     public static String getProperty(Project project, String val) throws Exception
    30     {
    30     {
    31         String prop = project.getProperty(val);
    31         String prop = project.getProperty(val);
    32         if (prop == null)
    32         if (prop == null) {
    33             throw new Exception(val + " not defined");
    33             throw new Exception(val + " not defined");
       
    34         }
    34         return prop;
    35         return prop;
    35     }
    36     }
    36 }
    37 }