@Test public void testToString() { ResolutionError of = ResolutionError.of(SNITCH_URI, MESSAGE, new RuntimeException("whatever")); Assertions.assertThat(of.toString()).isNotEmpty(); }
public static ResolutionError of(URI snitchUri, String message, Throwable cause) { return new ResolutionError(snitchUri, message, cause); }
ResolutionError { public static ResolutionError of(URI snitchUri, String message, Throwable cause) { return new ResolutionError(snitchUri, message, cause); } }
ResolutionError { public static ResolutionError of(URI snitchUri, String message, Throwable cause) { return new ResolutionError(snitchUri, message, cause); } ResolutionError(URI snitchUri, String message, Throwable cause); }
ResolutionError { public static ResolutionError of(URI snitchUri, String message, Throwable cause) { return new ResolutionError(snitchUri, message, cause); } ResolutionError(URI snitchUri, String message, Throwable cause); static ResolutionError translate(SnitchingException e); static ResolutionError of(URI snitchUri, String message, Throwable cause); static ResolutionError of(URI snitchUri, String message); @Override int hashCode(); @Override boolean equals(Object obj); String getMessage(); URI getSnitchUri(); boolean hasCause(); @JsonIgnore Optional<Throwable> getCause(); Optional<String> getCauseStackTraceString(); }
ResolutionError { public static ResolutionError of(URI snitchUri, String message, Throwable cause) { return new ResolutionError(snitchUri, message, cause); } ResolutionError(URI snitchUri, String message, Throwable cause); static ResolutionError translate(SnitchingException e); static ResolutionError of(URI snitchUri, String message, Throwable cause); static ResolutionError of(URI snitchUri, String message); @Override int hashCode(); @Override boolean equals(Object obj); String getMessage(); URI getSnitchUri(); boolean hasCause(); @JsonIgnore Optional<Throwable> getCause(); Optional<String> getCauseStackTraceString();  }