Refs #9501 Fix Warnings and correct references

The exceptions are no longer references, as it apparently wasn't the right way to do it

The compiler warnings should be fixed