Class FailedExportException.GrpcExportException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Detail

      • cause

        @Nullable
        private final java.lang.Throwable cause
    • Constructor Detail

      • GrpcExportException

        private GrpcExportException​(@Nullable
                                    GrpcResponse response,
                                    @Nullable
                                    java.lang.Throwable cause)
    • Method Detail

      • 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 java.lang.Throwable getCause()
        Returns the exceptional cause of failure, or null if the export failed with a response from the server.
        Overrides:
        getCause in class java.lang.Throwable