com.paulwithers.openLog
Class OpenLogPhaseListener

java.lang.Object
  extended by com.paulwithers.openLog.OpenLogPhaseListener

public class OpenLogPhaseListener
extends java.lang.Object

Since:
1.0.0
Author:
withersp

Field Summary
private static int RENDER_RESPONSE
           
private static long serialVersionUID
           
 
Constructor Summary
OpenLogPhaseListener()
           
 
Method Summary
 void afterPhase(PhaseEvent event)
           
 void beforePhase(PhaseEvent event)
           
private  java.util.logging.Level convertSeverity(int severity)
           
 PhaseId getPhaseId()
           
private  void processUncaughtException(java.util.Map<java.lang.String,java.lang.Object> r)
          This is getting VERY complex because of the variety of exceptions and tracking up the stack trace to find the right class to get as much info as possible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

RENDER_RESPONSE

private static final int RENDER_RESPONSE
See Also:
Constant Field Values
Constructor Detail

OpenLogPhaseListener

public OpenLogPhaseListener()
Method Detail

beforePhase

public void beforePhase(PhaseEvent event)

afterPhase

public void afterPhase(PhaseEvent event)

processUncaughtException

private void processUncaughtException(java.util.Map<java.lang.String,java.lang.Object> r)
This is getting VERY complex because of the variety of exceptions and tracking up the stack trace to find the right class to get as much info as possible. Extracted into a separate method to make it more readable.

Parameters:
r - requestScope map

convertSeverity

private java.util.logging.Level convertSeverity(int severity)

getPhaseId

public PhaseId getPhaseId()