Commit 95f91bf6 authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204608 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2a18341f
...@@ -48,6 +48,7 @@ public class AssetclassIC extends ValidatorEJB implements AssetclassICLocal ,As ...@@ -48,6 +48,7 @@ public class AssetclassIC extends ValidatorEJB implements AssetclassICLocal ,As
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : AssetRegisterICEJB : wfValData(String xmlString) : ==>\n"+e.getMessage()); System.out.println("Exception : AssetRegisterICEJB : wfValData(String xmlString) : ==>\n"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return (errString); return (errString);
} }
...@@ -224,6 +225,7 @@ conn = getConnection(); ...@@ -224,6 +225,7 @@ conn = getConnection();
e.printStackTrace(); e.printStackTrace();
errCode = "VALEXCEP"; errCode = "VALEXCEP";
errString = getErrorString( "", errCode, userId ); errString = getErrorString( "", errCode, userId );
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -287,6 +289,7 @@ conn = getConnection(); ...@@ -287,6 +289,7 @@ conn = getConnection();
System.out.println("Exception :WsfaGradeTest:itemChanged(String,String,String,String,String,String):" + e.getMessage() + ":"); System.out.println("Exception :WsfaGradeTest:itemChanged(String,String,String,String,String,String):" + e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e); valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
System.out.println("returning from WsfaGradeTest itemChanged"); System.out.println("returning from WsfaGradeTest itemChanged");
return (valueXmlString); return (valueXmlString);
...@@ -400,6 +403,7 @@ conn = getConnection(); ...@@ -400,6 +403,7 @@ conn = getConnection();
valueXmlString.delete(0, valueXmlString.length()); valueXmlString.delete(0, valueXmlString.length());
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