Catch and raise the exception when GetSession Fails.