Module FerrisResisteConsole
Class UncaughtExceptionService
- java.lang.Object
-
- org.ferris.resiste.console.exception.UncaughtExceptionService
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
@ApplicationScoped public class UncaughtExceptionService extends java.lang.Object implements java.lang.Thread.UncaughtExceptionHandler
- Author:
- Michael Remijan mjremijan@yahoo.com @mjremijan
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.enterprise.event.Event<EmailErrorEvent>
error
protected UncaughtExceptionTool
exceptionTool
protected javax.enterprise.event.Event<ExitEvent>
exitEvent
protected org.slf4j.Logger
log
protected UncaughtExceptionPage
uncaughtExceptionPage
-
Constructor Summary
Constructors Constructor Description UncaughtExceptionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
observesStartup(StartupEvent event)
void
uncaughtException(java.lang.Thread t, java.lang.Throwable e)
-
-
-
Field Detail
-
log
@Inject protected org.slf4j.Logger log
-
exceptionTool
@Inject protected UncaughtExceptionTool exceptionTool
-
uncaughtExceptionPage
@Inject protected UncaughtExceptionPage uncaughtExceptionPage
-
exitEvent
@Inject protected javax.enterprise.event.Event<ExitEvent> exitEvent
-
error
@Inject protected javax.enterprise.event.Event<EmailErrorEvent> error
-
-
Method Detail
-
observesStartup
public void observesStartup(@Observes @Priority(10) StartupEvent event)
-
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
- Specified by:
uncaughtException
in interfacejava.lang.Thread.UncaughtExceptionHandler
-
-