exercises and practice with throwing exceptions