Catching Exception thrown when no server is set. (#9)