• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can getMessage() method of Exception class return Null?  RSS feed

 
Monoranjan Gorai
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can getMessage() method of Exception class return Null?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually it is Throwable#getMessage().
Did you look at the API? Does it say anything about "null"?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!