@Test public void throwableAndUriConstructor() { URI uri = URI.create("fake: Throwable cause = new RuntimeException("unit test"); SnitchingException e = new SnitchingException(uri, cause); Assert.assertEquals(uri, e.getSnitchUri()); Assert.assertEquals(cause, e.getCause()); }
public URI getSnitchUri() { return snitchUri; }
SnitchingException extends RuntimeException { public URI getSnitchUri() { return snitchUri; } }
SnitchingException extends RuntimeException { public URI getSnitchUri() { return snitchUri; } SnitchingException(URI snitch, String message, Throwable cause);  SnitchingException(URI snitch, String message);  SnitchingException(URI snitch, Throwable cause); }
SnitchingException extends RuntimeException { public URI getSnitchUri() { return snitchUri; } SnitchingException(URI snitch, String message, Throwable cause);  SnitchingException(URI snitch, String message);  SnitchingException(URI snitch, Throwable cause); URI getSnitchUri(); }
SnitchingException extends RuntimeException { public URI getSnitchUri() { return snitchUri; } SnitchingException(URI snitch, String message, Throwable cause);  SnitchingException(URI snitch, String message);  SnitchingException(URI snitch, Throwable cause); URI getSnitchUri();  }