Package com.ibm.ws.ffdc
Class FFDCFilter
- java.lang.Object
-
- com.ibm.ws.ffdc.FFDCFilter
-
public final class FFDCFilter extends java.lang.Object
This class provides static methods to write first failure data capture (FFDC) records to assist in debugging problems. When an unexpected exception is caught, the processException methods can be used to record the exception stack. For example:catch (Exception x){ FFDCFilter.processException(x, getClass().getName(), "129", this); throw x; }
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 throwablestatic 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 throwablestatic 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 throwablestatic 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
-
-
-
Method Detail
-
processException
public 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- Parameters:
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 number
-
processException
public 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- Parameters:
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 record
-
processException
public 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- Parameters:
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 record
-
processException
public 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- Parameters:
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
-
-