Compiler Error C2315

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2315.

type1' : reference is caught by 'type2' on line number

The exception type is handled by a previous handler. The reference for the second catch has the type of the first.

Show: