Package org.bonitasoft.engine.incident
Class FileLoggerIncidentHandler
- java.lang.Object
-
- org.bonitasoft.engine.incident.FileLoggerIncidentHandler
-
- All Implemented Interfaces:
IncidentHandler
public class FileLoggerIncidentHandler extends java.lang.Object implements IncidentHandler
Report incident in a log file located inside the bonita home Is a tenant service must be declared in tenant part- Author:
- Baptiste Mesta, Matthieu Chaffotte
-
-
Constructor Summary
Constructors Constructor Description FileLoggerIncidentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.logging.LoggergetLogger(long tenantId)voidhandle(long tenantId, Incident incident)
-
-
-
Method Detail
-
handle
public void handle(long tenantId, Incident incident)- Specified by:
handlein interfaceIncidentHandler
-
getLogger
protected java.util.logging.Logger getLogger(long tenantId) throws java.lang.SecurityException, java.io.IOException, org.bonitasoft.engine.exception.BonitaHomeNotSetException- Throws:
java.lang.SecurityExceptionjava.io.IOExceptionorg.bonitasoft.engine.exception.BonitaHomeNotSetException
-
-