Class ExceptionTelemetry

java.lang.Object
com.microsoft.applicationinsights.telemetry.BaseTelemetry
com.microsoft.applicationinsights.telemetry.ExceptionTelemetry
All Implemented Interfaces:
Telemetry

public final class ExceptionTelemetry extends BaseTelemetry
Telemetry type used to track exceptions sent to Azure Application Insights.
  • Constructor Details

    • ExceptionTelemetry

      public ExceptionTelemetry()
    • ExceptionTelemetry

      public ExceptionTelemetry(Throwable throwable, int stackSize)
      Creates a new instance.
      Parameters:
      stackSize - The max stack size to report.
      throwable - The exception to track.
    • ExceptionTelemetry

      public ExceptionTelemetry(Throwable throwable)
      Creates a new instance.
      Parameters:
      throwable - The exception to track.
  • Method Details