Teuchos: fix GCC 8.0 warning
Created by: ibaned
@trilinos/teuchos
Description
Changed an exception type in catch
to be a reference.
GCC 8.0 warns about not catching polymorphic exception classes by reference, even if they go unused.
Motivation and Context
Allows the Teuchos sub-packages I use to build without warnings under GCC 8.0 (with no non-default warning flags specified).