This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on logger  RSS feed

 
Zhixiong Pan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

For this question from the exam mock,
Could any of you give me a light?
An exception caught in your servlet can be logged how?



A. log(message, throwable.getMessage())


B. log(message, throwable)


C. logger(message, throwable.getMessage())


D. logger(message, throwable)
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

It's B.

Thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Zhixiong, please quote your sources when posting mock exam questions.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!