How to replace following lines,
catch (DAOException e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw new BOException(5122);
} catch (BOException e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw e;
} catch (Exception e)
{
objLogger.error(this.getClass
() + "addUpdateIssues() " + e);
throw new BOException(5122);
}
Needs to be changed in to,
catch (DAOException e)
{
AppException.handleException
(null, null, e, null, null, null, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 5122);
} catch (BOException e)
{
AppException.handleException
(null, null, null, e, null, null, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 0);
} catch (Exception e)
{
AppException.handleException
(null, null, null, null, null, e, "BOException",
this.getClass() + "addUpdateIssues() ", null, null, null,
null, null, null, null, null, 5122);
}
No Answer is Posted For this Question
Be the First to Post Answer
How do I stop script errors?
Is shell a scripting language?
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
What is awk in shell scripting?
What is the difference between a 'thread' and a 'process'?
Explain about "s" permission bit in a file?
How to pass an argument to a script?
There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.
What is the difference between grep and egrep?
Write the syntax for "if" conditionals in linux?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is the need of including script interpreter in your shell script?