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

Post New Answer

More Shell Script Interview Questions

How do I stop script errors?

0 Answers  


Is shell a scripting language?

0 Answers  


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?

1 Answers  


What is awk in shell scripting?

0 Answers  


What is the difference between a 'thread' and a 'process'?

3 Answers  






Explain about "s" permission bit in a file?

0 Answers  


How to pass an argument to a script?

0 Answers  


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.

1 Answers   Wipro,


What is the difference between grep and egrep?

0 Answers  


Write the syntax for "if" conditionals in linux?

0 Answers  


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?

0 Answers  


What is the need of including script interpreter in your shell script?

2 Answers  


Categories