[REFACTOR] refs #35787 @0.35 Replaced the several stack traces with
error messages