skipcheck

TM1 client · Docs · Errors

Tm1TransportException

using Skipcheck.Tm1.Client.Errors;

No complete response from TM1: the connection failed, was reset, or timed out.

TransportPhase says how far the request got, which decides whether it could have taken effect: a request that never connected didn't, one that timed out waiting for the response may have. TM1 only answers some long operations (processes, big MDX) when they finish, so a response timeout often means the work is still running.

Members

Tm1TransportException constructorAn exception for a request that got no complete response.
TransportPhase propertyWhere the request failed (Java's phase()).
IsRetryableUnsent requests, and idempotent ones (GET, PUT, DELETE, HEAD), may be sent again.
MayHaveAppliedFalse only if the request was never sent.
Method propertyThe request's HTTP method, when the failure is a request's.
Url propertyThe request's URL, when the failure is a request's.

Tm1TransportException

constructor
Tm1TransportException(Phase phase, bool idempotent, string method, string url, Exception? cause)

An exception for a request that got no complete response.

Parameters

phase
How far the request got.
idempotent
Whether the request is safe to repeat (GET, PUT, DELETE), which makes a response-phase failure retryable.
method
The request's HTTP method.
url
The request's URL, without credentials.
cause
The underlying failure, or null.

TransportPhase

property
Phase TransportPhase

Where the request failed (Java's phase()).

IsRetryable

bool IsRetryable()

Unsent requests, and idempotent ones (GET, PUT, DELETE, HEAD), may be sent again.

MayHaveApplied

bool MayHaveApplied()

False only if the request was never sent.

Method

property
string? Method

The request's HTTP method, when the failure is a request's.

Url

property
string? Url

The request's URL, when the failure is a request's.