Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)

1 Answers   NTT Data, TCS,


What are the default permissions of a file when it is created?

0 Answers  


What are the different methods available to run a shell script?

2 Answers  


What's the difference between scripting and coding?

0 Answers  


What is a file basename?

0 Answers  


What are the 4 basics of OOP?

1 Answers   Amazon, Infosys,


How to print some text on to the screen?

2 Answers  


write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?

6 Answers   IBM, Wipro,


Write a shell program to test whether a given number is even or odd?

8 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 is path in shell script?

0 Answers  


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

0 Answers  


Categories