Commit eefdfcd5 authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204620 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 848bf65f
...@@ -609,7 +609,7 @@ conn = getConnection(); ...@@ -609,7 +609,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
errString = e.getMessage(); //errString = e.getMessage(); //commented by manish mhatreon 02-aug-2019
throw new ITMException(e); throw new ITMException(e);
} }
finally finally
...@@ -673,6 +673,7 @@ conn = getConnection(); ...@@ -673,6 +673,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : [BankGauranteeAmdIC][itemChanged( String, String )] :==>\n" + e.getMessage()); System.out.println("Exception : [BankGauranteeAmdIC][itemChanged( String, String )] :==>\n" + e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
System.out.println("valueXmlStringvalueXmlStrin ST"+valueXmlString); System.out.println("valueXmlStringvalueXmlStrin ST"+valueXmlString);
return valueXmlString; return valueXmlString;
...@@ -995,7 +996,7 @@ conn = getConnection(); ...@@ -995,7 +996,7 @@ conn = getConnection();
return valueXmlString.toString(); return valueXmlString.toString();
}//end of itemChanged }//end of itemChanged
private String errorType(Connection conn , String errorCode) private String errorType(Connection conn , String errorCode) throws ITMException
{ {
String msgType = ""; String msgType = "";
PreparedStatement pstmt = null ; PreparedStatement pstmt = null ;
...@@ -1014,6 +1015,7 @@ conn = getConnection(); ...@@ -1014,6 +1015,7 @@ conn = getConnection();
catch(Exception ex) catch(Exception ex)
{ {
ex.printStackTrace(); ex.printStackTrace();
throw new ITMException(ex); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
......
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