Throw exception in case of looking for a session that does not exist.