Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318551

Summary: Make throwing UncheckedIOException on response PrintWriter optional
Product: [RT] Jetty Reporter: Jan Bartel <janb>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: jetty-inbox
Version: 7.1.5   
Target Milestone: 7.1.x   
Hardware: All   
OS: All   
Whiteboard:

Description Jan Bartel CLA 2010-07-01 03:50:27 EDT
Our UncheckedPrintWriter impl throws runtime exception UncheckedIOException when errors occur. 

If, however, you wanted to write portable code and were correctly using the PrintWriter.checkError() method, you would still need to catch our UncheckedIOException.

We should make throwing the UncheckedIOException configurable.
Comment 1 Greg Wilkins CLA 2010-07-02 05:16:27 EDT
Added an option on the ContextHandler