== Compliant Solution

----
class BaseException { };
class DerivedException: public BaseException { };

try
{
  // ...
}
catch ( DerivedException &d ) // Compliant
{
  // ...
}
catch ( BaseException  &b ) // Compliant, will be triggered for BaseException that are not DerivedException
{
  // ...
}
----