DEV: Fix error messages in requireException
DEV: Replace values by const and clear in YieldCurve