Skip to content

Commit

Permalink
Temporarily Break HTML Writer - is it used? :)
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed May 23, 2013
1 parent aee1721 commit 682ea05
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ 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 682ea05

Please sign in to comment.