com.paulwithers.openLog
Class OpenLogPhaseListener
java.lang.Object
com.paulwithers.openLog.OpenLogPhaseListener
public class OpenLogPhaseListener
- extends java.lang.Object
- Since:
- 1.0.0
- Author:
- withersp
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
RENDER_RESPONSE
private static final int RENDER_RESPONSE
- See Also:
- Constant Field Values
OpenLogPhaseListener
public OpenLogPhaseListener()
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()