44454647484950
} public short opWithException() throws MyException { throw new MyException("This is only a test exception, no harm done :-)"); }
51525354555657
return width; } public short opWithException() throws MyException { throw new MyException("This is only a test exception, no harm done :-)"); }
43444546474849
142143144145146147148
public String testMyException(String s) { String[] tokens = s.split(":"); assert tokens.length == 2; int statusCode = Integer.valueOf(tokens[1]); Response r = Response.status(statusCode).build(); throw new MyException(r); }
80818283848586