122123124125126127128129130131132
} else { throw new RuntimeException("Unknown model type: " + type); } writer.persist(); } catch (Exception e) { System.out.print("Unable to create model due to exception: "); System.out.println(e);
114115116117118119120121122123124
else { System.err.println("Unknown model type: "+type); model = null; } writer.persist(); } catch (Exception e) { System.out.print("Unable to create model due to exception: "); System.out.println(e); e.printStackTrace(); }
121122123124125126127128129130131