• Post Reply Bookmark Topic Watch Topic
  • New Topic

Overrding an exception  RSS feed

 
Zein Nunna
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I was just wondering, say I call a method, which could potentially throw an Exception, e.g. NullPoniterException, is there anyway I could overide that exception and throw one of my own Exceptions? which displays my message..?

How would I do this

Thanks in advance

Zein
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ August 25, 2005: Message edited by: Joanne Neal ]
 
Zein Nunna
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou JN works like a charm.

Regards

Zein
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!