fixing build issue by using SelendroidException in SessionCookieManager.