create custom exception class then catch it

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create a custom exception for trying to cast a string to an
integer., then catch it. I can create the situation in the situation that
causes the exception but I am getting tripped up trying to write the class
then catch it. Any help would be greatly appreciated.
 
Back
Top