Skip to content

Commit

Permalink
Remove silly debug exception :)
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed May 24, 2013
1 parent d08fac9 commit 226c9d6
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ public long getSize(OrcidMessage message, Class<?> type, Type genericType, Annot
@Override
public void writeTo(OrcidMessage message, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders,
OutputStream entityStream) throws IOException, WebApplicationException {
System.err.println("HTML Oh noooooo");
if (true) {
throw new RuntimeException("HTML Yay");
}

entityStream.write(message.toString().getBytes());
}
}

0 comments on commit 226c9d6

Please sign in to comment.