}
catch (ArrayIndexOutOfBoundsException e)
{
_error = "Invalid URL format [current_state = " + prevState + ", details parsed so far " + _bindingURL + " ] error at (" + _index + ")";
URISyntaxException ex = new URISyntaxException(markErrorLocation(),"Error occured while parsing URL",_index);
ex.initCause(e);
throw ex;
}
}
enum BindingURLParserState