org.jboss.seam.exception.example.basic.servlet.handler
Class HandlerOutput

java.lang.Object
  extended by org.jboss.seam.exception.example.basic.servlet.handler.HandlerOutput

public class HandlerOutput
extends Object

DRY helper to output the message to the response.


Constructor Summary
HandlerOutput()
           
 
Method Summary
static void printToResponse(ResourceBundle messages, Throwable exception, HttpServletResponse response, String handler, String markException)
          Prints the message out to the response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerOutput

public HandlerOutput()
Method Detail

printToResponse

public static void printToResponse(ResourceBundle messages,
                                   Throwable exception,
                                   HttpServletResponse response,
                                   String handler,
                                   String markException)
Prints the message out to the response

Parameters:
messages - ResourceBundle to use for messages
exception - Exception that was caught
response - response object used to write
handler - name of handler
markException - method being called from the handler for flow control


Copyright © 2011 Seam Framework. All Rights Reserved.