• Post Reply Bookmark Topic Watch Topic
  • New Topic

create an Exception  RSS feed

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i was wondering how to create an exception that would react on some events of my own. well for example when some expression is false then exception is thrown.
thank you.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can simple create a new Exception

and then in your code simply

[ July 31, 2003: Message edited by: Oliver Refle ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!