예제 #1
0
 public static ErrorHandler getErrorHandler(WurstModel m) {
   for (CompilationUnit cu : m) {
     return cu.getCuErrorHandler();
   }
   throw new Error("Empty model.");
 }
예제 #2
0
 public static ErrorHandler getErrorHandler(CompilationUnit e) {
   return e.getCuErrorHandler();
 }