Fixes #3356: cleanly handle ConstraintException on Technique