org.jboss.seam.exception.example.basic.servlet.handler
Class HandlerOutput
java.lang.Object
org.jboss.seam.exception.example.basic.servlet.handler.HandlerOutput
public class HandlerOutput
- extends Object
DRY helper to output the message to the response.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerOutput
public HandlerOutput()
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 messagesexception - Exception that was caughtresponse - response object used to writehandler - name of handlermarkException - method being called from the handler for flow control
Copyright © 2011 Seam Framework. All Rights Reserved.