Commit 2a08afa6 authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204616 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 19d9b0da
...@@ -73,6 +73,7 @@ public class AutoPmtGen extends ValidatorEJB implements AutoPmtGenLocal,AutoPmtG ...@@ -73,6 +73,7 @@ public class AutoPmtGen extends ValidatorEJB implements AutoPmtGenLocal,AutoPmtG
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : [AutoPmtGenEJB][itemChanged(String,String)] :==>\n"+e.getMessage()); System.out.println("Exception : [AutoPmtGenEJB][itemChanged(String,String)] :==>\n"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return valueXmlString; return valueXmlString;
} }
...@@ -115,6 +116,7 @@ public class AutoPmtGen extends ValidatorEJB implements AutoPmtGenLocal,AutoPmtG ...@@ -115,6 +116,7 @@ public class AutoPmtGen extends ValidatorEJB implements AutoPmtGenLocal,AutoPmtG
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :[AutoPmtGenEJB]While Getting Date Format"+e.getMessage()); System.out.println("Exception :[AutoPmtGenEJB]While Getting Date Format"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
java.util.Date DateX = new java.util.Date(); java.util.Date DateX = new java.util.Date();
java.text.SimpleDateFormat dtf= new SimpleDateFormat(format); java.text.SimpleDateFormat dtf= new SimpleDateFormat(format);
...@@ -254,6 +256,7 @@ conn = getConnection(); ...@@ -254,6 +256,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception ::"+e.getMessage()); System.out.println("Exception ::"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -287,6 +290,7 @@ conn = getConnection(); ...@@ -287,6 +290,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : AutoPmtGenEJB : wfValData(String xmlString) : ==>\n"+e.getMessage()); System.out.println("Exception : AutoPmtGenEJB : wfValData(String xmlString) : ==>\n"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return (errString); return (errString);
} }
...@@ -459,6 +463,7 @@ conn = getConnection(); ...@@ -459,6 +463,7 @@ conn = getConnection();
{ {
System.out.println("Exception ::"+e); System.out.println("Exception ::"+e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //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