This commit is contained in:
Lucio Lelii 2008-12-01 10:46:10 +00:00
parent dbbf86c33a
commit 6b128fabd0
1 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,9 @@ public class ModelerService {
//logger.debug("EPR: "+eprToString); //logger.debug("EPR: "+eprToString);
} catch (SerializationException e) { } catch (SerializationException e) {
//logger.error("VDL Model Service: error serializing EPR"); //logger.error("VDL Model Service: error serializing EPR");
throw new RemoteException("VDL Model Service: error serializing EPR",e); logger.error("VDL Model Service: error serializing EPR",e);
e.printStackTrace();
throw new GCUBEFault(e);
} }
DBInterface.ExecuteUpdate("insert into VRE values('"+getResource().getID()+"','"+request.getVREName()+"','"+request.getVREDescription()+"','"+request.getVREDesigner()+"','"+request.getVREManager()+"','"+dateFrom+"','"+dateTo+"','"+eprToString+"','In Progress'); "); DBInterface.ExecuteUpdate("insert into VRE values('"+getResource().getID()+"','"+request.getVREName()+"','"+request.getVREDescription()+"','"+request.getVREDesigner()+"','"+request.getVREManager()+"','"+dateFrom+"','"+dateTo+"','"+eprToString+"','In Progress'); ");