Commit 2810a1ec authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204610 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2a6c6c9d
...@@ -61,6 +61,7 @@ public class AssetRegisterIC extends ValidatorEJB implements AssetRegisterICRemo ...@@ -61,6 +61,7 @@ public class AssetRegisterIC extends ValidatorEJB implements AssetRegisterICRemo
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);
} }
...@@ -533,6 +534,7 @@ conn = getConnection(); ...@@ -533,6 +534,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
{ {
...@@ -589,6 +591,7 @@ conn = getConnection(); ...@@ -589,6 +591,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : [AssetRegisterICEJB][itemChanged] :==>\n"+e.getMessage()); System.out.println("Exception : [AssetRegisterICEJB][itemChanged] :==>\n"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return valueXmlString; return valueXmlString;
} }
...@@ -831,6 +834,7 @@ conn = getConnection(); ...@@ -831,6 +834,7 @@ conn = getConnection();
{ {
System.out.println("Exception ::"+ e.getMessage()); System.out.println("Exception ::"+ e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -860,7 +864,7 @@ conn = getConnection(); ...@@ -860,7 +864,7 @@ conn = getConnection();
} }
return valueXmlString.toString(); return valueXmlString.toString();
}//END OF ITEMCHANGE }//END OF ITEMCHANGE
private String getCurrdateAppFormat() private String getCurrdateAppFormat() throws ITMException
{ {
String s = ""; String s = "";
// GenericUtility genericUtility = GenericUtility.getInstance(); // GenericUtility genericUtility = GenericUtility.getInstance();
...@@ -877,6 +881,7 @@ conn = getConnection(); ...@@ -877,6 +881,7 @@ conn = getConnection();
catch(Exception exception) catch(Exception exception)
{ {
System.out.println("Exception in getCurrdateAppFormat " + exception.getMessage()); System.out.println("Exception in getCurrdateAppFormat " + exception.getMessage());
throw new ITMException(exception); //added by manish mhatre on 02-aug-2019
} }
return s; return s;
} }
......
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