Commit e5d814cc authored by rbhogale's avatar rbhogale

Changed by Rohan on 20-06-13 to return error String


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93232 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 45b59201
...@@ -4737,8 +4737,15 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -4737,8 +4737,15 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
{ {
System.out.println("Exception :updateWaveTask :" + insertSql + "\n" +e.getMessage()); System.out.println("Exception :updateWaveTask :" + insertSql + "\n" +e.getMessage());
e.printStackTrace(); e.printStackTrace();
//Changed by Rohan on 20-06-13 to throw item exception.strat.start
/*
errString = e.getMessage(); errString = e.getMessage();
throw e; throw e;
*/
throw new ITMException(e);
//Changed by Rohan on 20-06-13 to throw item exception.strat.start
} }
finally finally
{ {
...@@ -4753,11 +4760,18 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -4753,11 +4760,18 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
//Changed by Rohan on 20-06-13 to throw item exception.strat.start
/*
errString = e.getMessage(); errString = e.getMessage();
throw e; throw e;
*/
throw new ITMException(e);
//Changed by Rohan on 20-06-13 to throw item exception.end
} }
} }
return errString; //Changed by Rohan on 20-06-13 for retun errorstring above in code
//return errString;
} }
//Changed by sumit sarkar on 28/08/2011 [ WM1ESUN006 ] for creating ref_id start. //Changed by sumit sarkar on 28/08/2011 [ WM1ESUN006 ] for creating ref_id start.
private String updateWaveTaskDet(String waveId ,int lineNo,String saleOrder,String subRefSer ,String subrefType ,String ptcn,Connection conn)throws Exception private String updateWaveTaskDet(String waveId ,int lineNo,String saleOrder,String subRefSer ,String subrefType ,String ptcn,Connection conn)throws Exception
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment