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
catch(Exception e)
{
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);
}
......@@ -532,7 +533,8 @@ conn = getConnection();
System.out.println("Exception ::" +e);
e.printStackTrace();
errCode = "VALEXCEP";
errString = getErrorString( "", errCode, userId );
errString = getErrorString( "", errCode, userId );
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
}
finally
{
......@@ -589,6 +591,7 @@ conn = getConnection();
catch(Exception e)
{
System.out.println("Exception : [AssetRegisterICEJB][itemChanged] :==>\n"+e.getMessage());
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
}
return valueXmlString;
}
......@@ -831,6 +834,7 @@ conn = getConnection();
{
System.out.println("Exception ::"+ e.getMessage());
e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
}
finally
{
......@@ -860,7 +864,7 @@ conn = getConnection();
}
return valueXmlString.toString();
}//END OF ITEMCHANGE
private String getCurrdateAppFormat()
private String getCurrdateAppFormat() throws ITMException
{
String s = "";
// GenericUtility genericUtility = GenericUtility.getInstance();
......@@ -877,6 +881,7 @@ conn = getConnection();
catch(Exception exception)
{
System.out.println("Exception in getCurrdateAppFormat " + exception.getMessage());
throw new ITMException(exception); //added by manish mhatre on 02-aug-2019
}
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