public interface Manager
Modifier and Type | Field and Description |
---|---|
static Manager |
Ffdc
Sole instance of the Manager
|
Modifier and Type | Method and Description |
---|---|
com.ibm.ffdc.Ffdc |
getFfdc(java.lang.Throwable exception,
java.lang.Object reporter,
java.lang.String sourceId)
Constructor variant using unique sourceID.
|
com.ibm.ffdc.Ffdc |
getFfdc(java.lang.Throwable exception,
java.lang.Object reporter,
java.lang.String sourceId,
java.lang.String probeId)
The Ffdc instance incapsulates the exception and code location, it is a light weight object.
|
java.util.List<com.ibm.ffdc.util.provider.Incident> |
getIncidents()
Returns the list of incidents.
|
void |
log(java.lang.Throwable exception,
java.lang.Object reporter,
java.lang.String sourceId,
java.lang.String probeId)
logs an ffdc incident without upfront checking and without data capture.
|
void |
log(java.lang.Throwable exception,
java.lang.Object reporter,
java.lang.String sourceId,
java.lang.String probeId,
java.lang.Object... args)
logs an ffdc incident without upfront checking.
|
void |
unblockLogging()
unblock all incidents.
|
boolean |
unblockLogging(com.ibm.ffdc.util.provider.Incident incident)
unblock the logging of the next occurrence of this incident
|
static final Manager Ffdc
com.ibm.ffdc.Ffdc getFfdc(java.lang.Throwable exception, java.lang.Object reporter, java.lang.String sourceId)
exception
- - the exception to be reportedreporter
- - the class or instance reporting the ffdc incidentsourceId
- is the id of the, unique code location of this incident reporting, must not be nullcom.ibm.ffdc.Ffdc getFfdc(java.lang.Throwable exception, java.lang.Object reporter, java.lang.String sourceId, java.lang.String probeId)
exception
- - the exception to be reportedreporter
- - the class or instance reporting the ffdc incidentsourceId
- is the id of the, possibly not unique code location of this incident reporting, must not be nullprobeId
- together with sourceId
provides for the unique code location, must not be null.void log(java.lang.Throwable exception, java.lang.Object reporter, java.lang.String sourceId, java.lang.String probeId, java.lang.Object... args)
exception
- - the exception to be reportedreporter
- - the class or instance reporting the ffdc incidentsourceId
- together with the probeId parameter must be unique, can be nullprobeId
- together with sourceId
provides for the unique code location, can be null.args
- - the data captured to aid problem determination, include the this object here if it is relevantvoid log(java.lang.Throwable exception, java.lang.Object reporter, java.lang.String sourceId, java.lang.String probeId)
exception
- - the exception to be reportedreporter
- - the class or instance reporting the ffdc incidentsourceId
- together with the probeId parameter must be unique, can be nullprobeId
- together with sourceId
provides for the unique code location, can be null.java.util.List<com.ibm.ffdc.util.provider.Incident> getIncidents()
boolean unblockLogging(com.ibm.ffdc.util.provider.Incident incident)
incident
- void unblockLogging()