Updated to show use of custom Exception messages