Using exceptions for error handling in store locker