Class FailedExportException.GrpcExportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.opentelemetry.exporter.internal.FailedExportException
io.opentelemetry.exporter.internal.FailedExportException.GrpcExportException
All Implemented Interfaces:
Serializable
Enclosing class:
FailedExportException

public static final class FailedExportException.GrpcExportException extends FailedExportException
Represents the failure of a gRPC exporter.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

See Also:
  • Method Details

    • failedWithResponse

      public boolean failedWithResponse()
      Description copied from class: FailedExportException
      Returns true if the export failed with a response from the server.
      Specified by:
      failedWithResponse in class FailedExportException
    • getResponse

      @Nullable public GrpcResponse getResponse()
      Returns the response if the export failed with a response from the server, or null if the export failed exceptionally with no response.
    • getCause

      @Nullable public Throwable getCause()
      Returns the exceptional cause of failure, or null if the export failed with a response from the server.
      Overrides:
      getCause in class Throwable