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

shell script for reverse the string

0 Answers  


What are the disadvantages of shell scripting?

0 Answers  


What are the different types of shell scripting?

0 Answers  


What is sh in shell script?

0 Answers  


What is bash eval?

0 Answers  


What are scripts in psychology?

0 Answers  


What is batch file programming?

0 Answers  


Differentiate between ‘ and ” quotes.

0 Answers  


Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"

6 Answers  


What is eval in shell script?

0 Answers  


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?

0 Answers  


What language is bash written in?

0 Answers  


Categories