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 constructor | An exception for a request that got no complete response. |
TransportPhase property | Where the request failed (Java's phase()). |
IsRetryable | Unsent requests, and idempotent ones (GET, PUT, DELETE, HEAD), may be sent again. |
MayHaveApplied | False only if the request was never sent. |
Method property | The request's HTTP method, when the failure is a request's. |
Url property | The request's URL, when the failure is a request's. |
Tm1TransportException
constructorTm1TransportException(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
propertyPhase TransportPhaseWhere 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
propertystring? MethodThe request's HTTP method, when the failure is a request's.
Url
propertystring? UrlThe request's URL, when the failure is a request's.