Exception Handling

Custom Exception

English

Overview

A custom, application-specific exception class.

Details

An application-specific exception class defined by inheriting from a standard exception class. Accepting and holding the original causing exception in the constructor (exception chaining) makes it easier to trace back to the root cause.

More Programming terms