Commit 582404cb authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204590 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7af411ff
...@@ -129,7 +129,9 @@ public class BarCodeReport extends ValidatorEJB implements BarCodeReportLocal, B ...@@ -129,7 +129,9 @@ public class BarCodeReport extends ValidatorEJB implements BarCodeReportLocal, B
if(rs != null) rs.close(); if(rs != null) rs.close();
if(stmt != null) stmt.close(); if(stmt != null) stmt.close();
if(conn != null) conn.close(); if(conn != null) conn.close();
}catch(Exception e){System.out.println("Exception :: "+e);} }catch(Exception e){
System.out.println("Exception :: "+e);
}
} }
System.out.println("errString :: "+errString); System.out.println("errString :: "+errString);
return errString; return errString;
...@@ -164,11 +166,13 @@ public class BarCodeReport extends ValidatorEJB implements BarCodeReportLocal, B ...@@ -164,11 +166,13 @@ public class BarCodeReport extends ValidatorEJB implements BarCodeReportLocal, B
catch(ITMException ie){ catch(ITMException ie){
System.out.println("Exception : [BarCodeReport][itemChanged] :==>\n"+ie); System.out.println("Exception : [BarCodeReport][itemChanged] :==>\n"+ie);
ie.printStackTrace(); ie.printStackTrace();
throw ie; //Added By Mukesh Chauhan on 02/08/19
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : [BarCodeReport][itemChanged] :==>\n"+e); System.out.println("Exception : [BarCodeReport][itemChanged] :==>\n"+e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19s
} }
return retString; return retString;
} }
......
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