public final class FFDCFilter
extends java.lang.Object
catch (Exception x){
FFDCFilter.processException(x, getClass().getName(), "129", this);
throw x;
}
The source and probe identifiers combine to provide the unique
location in the source code where the FFDC record originated. Objects can also be passed for introspection
that will also be included in the FFDC record. By default, the FFDC files are written to the
${server.output.dir}/logs/ffdc directory.Modifier and Type | Method and Description |
---|---|
static void |
processException(java.lang.Throwable th,
java.lang.String sourceId,
java.lang.String probeId)
Write a first failure data capture record for the provided throwable
|
static void |
processException(java.lang.Throwable th,
java.lang.String sourceId,
java.lang.String probeId,
java.lang.Object callerThis)
Write a first failure data capture record for the provided throwable
|
static void |
processException(java.lang.Throwable th,
java.lang.String sourceId,
java.lang.String probeId,
java.lang.Object[] objectArray)
Write a first failure data capture record for the provided throwable
|
static void |
processException(java.lang.Throwable th,
java.lang.String sourceId,
java.lang.String probeId,
java.lang.Object callerThis,
java.lang.Object[] objectArray)
Write a first failure data capture record for the provided throwable
|
public static void processException(java.lang.Throwable th, java.lang.String sourceId, java.lang.String probeId)
th
- The throwablesourceId
- An identifier for the source of this record, for example the package and class nameprobeId
- A unique identifier within the source of this record, for example the source file line numberpublic static void processException(java.lang.Throwable th, java.lang.String sourceId, java.lang.String probeId, java.lang.Object callerThis)
th
- The throwablesourceId
- An identifier for the source of this record, for example the package and class nameprobeId
- A unique identifier within the source of this record, for example the source file line numbercallerThis
- The object making this call, which will be introspected for inclusion in the FFDC recordpublic static void processException(java.lang.Throwable th, java.lang.String sourceId, java.lang.String probeId, java.lang.Object[] objectArray)
th
- The throwablesourceId
- An identifier for the source of this record, for example the package and class nameprobeId
- A unique identifier within the source of this record, for example the source file line numberobjectArray
- An array of objects which will be introspected for inclusion in the FFDC recordpublic static void processException(java.lang.Throwable th, java.lang.String sourceId, java.lang.String probeId, java.lang.Object callerThis, java.lang.Object[] objectArray)
th
- The throwablesourceId
- An identifier for the source of this record, for example the package and class nameprobeId
- A unique identifier within the source of this record, for example the source file line numbercallerThis
- The object making this call, which will be introspected for inclusion in the FFDC recordobjectArray
- An array of objects which will be introspected for inclusion in the FFDC record