List of usage examples for javax.json JsonException JsonException
public JsonException(String message)
From source file:org.jboss.set.aphrodite.JsonStreamService.java
private URL parseUrl(String url) { try {//from w w w.j a v a 2s . c om return new URL(url); } catch (MalformedURLException e) { throw new JsonException("Unable to parse url: " + e.getMessage()); } }