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 run a shell script in powershell?

0 Answers  


What's the difference between scripting and coding?

0 Answers  


Why do we write bin bash in shell scripts?

0 Answers  


What does sh mean?

0 Answers  


Why is used in shell scripting?

0 Answers  






What is Linux language details

0 Answers   Quick Heal,


What does the sh command do?

0 Answers  


What is a shell script in windows?

0 Answers  


How will you connect to a database server from linux?

0 Answers  


HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?

3 Answers   Patni,


Write down the syntax of "for " loop

0 Answers  


What is the crontab?

0 Answers  


Categories