Code example for URISyntaxException

Methods: getMessage

0
        try { 
            // Make the request 
            LOG.debug("Make request with url:{}", params);
            eventDispatcher.dispatch(protocol.baseUrl(), params, device.getUserAgent(), device.getRemoteAddress());
        } catch (URISyntaxException e) {
            LOG.error("Not possible to create URI object from URL with reason:{}", e.getMessage());
            throw new IllegalArgumentException(e);
        } 
    } 
 
 
 
    // Setters and getters 
    public TrackingInfoDispatcher getEventDispatcher() { 
        return eventDispatcher;
    } 
 
    public void setEventDispatcher(TrackingInfoDispatcher eventDispatcher) {
        this.eventDispatcher = eventDispatcher;
    }