public interface Streamable
Error Handling: Note that streamables are responsible for their own error handling. If your streamable throws an exception, chances are the error will propagate and kill the whole thing being rendered, so exceptions should be reserved for real infrastructure or programming errors. Errors in parsing or processing that are encountered during rendering should be handled inside the streamable itself (such as writing some kind of error to the output stream)
|Modifier and Type||Method and Description|
Write the contents of the streamable to the provided writer.
void writeTo(Writer writer) throws IOException
writer- the writer the streamable will be providing its output to
IOException- if some error occurs while writing to the provided writer
Copyright © 2003–2016 Atlassian. All rights reserved.