missc
0
Junior Poster in Training
Recommended Answers
Jump to PostCreate an exception class that derives from whatever general exception already in place. Define your custom exception's way to handle the exception you want. Implement it in your code the same way as the provided exception handling.
Pseudocode:
Class MyCustomException : System.Exception { properties; if( condition …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.