javax.servlet.ServletResponse#getWriter will return java.io.PrintWriter. Methods in this class never throw I/O exceptions, although some of its constructors may. The client may inquire as to whether ...