List of usage examples for java.lang AssertionError AssertionError
public AssertionError(String message, Throwable cause)
From source file:com.payu.ratel.server.InMemoryDiscoveryServer.java
@Override @PUT/*from w w w.j ava2s . com*/ @Consumes("application/json") @Path("/service/{service}") public void collectStatistics(@PathParam("service") String address, Map<String, Map<String, String>> statistics) { try { statisticsHolder.putStatistics(URLDecoder.decode(address, "UTF-8"), statistics); } catch (UnsupportedEncodingException e) { throw new AssertionError("UTF-8 must be supported", e); } }