Keep root exception in extend exception classes.