* minor: Generate model exception sometime not display on console.

This commit is contained in:
Heng Sin Low 2008-10-23 07:31:25 +00:00
parent 0579531cd1
commit f898f4d773
2 changed files with 2 additions and 0 deletions

View File

@ -891,6 +891,7 @@ public class ModelClassGenerator
catch (Exception ex) catch (Exception ex)
{ {
log.log(Level.SEVERE, fileName, ex); log.log(Level.SEVERE, fileName, ex);
throw new RuntimeException(ex);
} }
} }

View File

@ -468,6 +468,7 @@ public class ModelInterfaceGenerator {
log.info(out.getAbsolutePath() + " - " + size + " kB"); log.info(out.getAbsolutePath() + " - " + size + " kB");
} catch (Exception ex) { } catch (Exception ex) {
log.log(Level.SEVERE, fileName, ex); log.log(Level.SEVERE, fileName, ex);
throw new RuntimeException(ex);
} }
} }