skipcheck

TM1 client · Docs · Errors

Tm1ErrorKind

import io.skipcheck.tm1.client.error.Tm1ErrorKind;

What a TM1 error means, as worked out by Tm1ErrorClassifier. More specific than the HTTP status, since TM1 reports many different failures with the same status and code.

Members

values static
valueOf static
NOT_FOUND staticThe object doesn't exist.
ALREADY_EXISTS staticAn object with that name already exists.
LOCKED staticThe object is locked.
IN_USE staticThe object can't be changed or deleted because something uses it.
CONFLICT staticThe request conflicts with the object's state (409, otherwise unclassified).
PRECONDITION_FAILED staticThe ETag in If-Match is stale (412), or one is required (428).
UNAUTHENTICATED staticNot logged in, or the session expired (401).
CREDENTIAL_REJECTED staticThe credentials were refused, so logging in again won't help.
FORBIDDEN staticNot allowed (403).
NO_READ_RIGHTS staticThe user has no read rights to the object (TM1 code 65), e.g.
IMPERSONATION_REFUSED staticTM1 refused to impersonate the user (for example, an administrator).
UNKNOWN_USER staticThe user to impersonate doesn't exist.
DATA_SPREAD_FAILED staticA cell write was refused.
INVALID_UNIQUE_NAME staticAn element unique name in the request is invalid (TM1 code 248).
CANCELLED staticThe operation was cancelled, e.g.
NOT_IMPLEMENTED staticTM1 doesn't implement this request (501).
OTHER staticAnything else.

values

static
static Tm1ErrorKind[] values()

valueOf

static
static Tm1ErrorKind valueOf(String name)

NOT_FOUND

static
NOT_FOUND

The object doesn't exist. TM1 sometimes reports this with 400 rather than 404.

ALREADY_EXISTS

static
ALREADY_EXISTS

An object with that name already exists.

LOCKED

static
LOCKED

The object is locked.

IN_USE

static
IN_USE

The object can't be changed or deleted because something uses it.

CONFLICT

static
CONFLICT

The request conflicts with the object's state (409, otherwise unclassified).

PRECONDITION_FAILED

static
PRECONDITION_FAILED

The ETag in If-Match is stale (412), or one is required (428).

UNAUTHENTICATED

static
UNAUTHENTICATED

Not logged in, or the session expired (401).

CREDENTIAL_REJECTED

static
CREDENTIAL_REJECTED

The credentials were refused, so logging in again won't help.

FORBIDDEN

static
FORBIDDEN

Not allowed (403).

NO_READ_RIGHTS

static
NO_READ_RIGHTS

The user has no read rights to the object (TM1 code 65), e.g. a new grant not seen by a held session yet.

IMPERSONATION_REFUSED

static
IMPERSONATION_REFUSED

TM1 refused to impersonate the user (for example, an administrator).

UNKNOWN_USER

static
UNKNOWN_USER

The user to impersonate doesn't exist.

DATA_SPREAD_FAILED

static
DATA_SPREAD_FAILED

A cell write was refused: text in a numeric cell, a consolidated or rule-calculated cell, or no rights.

INVALID_UNIQUE_NAME

static
INVALID_UNIQUE_NAME

An element unique name in the request is invalid (TM1 code 248).

CANCELLED

static
CANCELLED

The operation was cancelled, e.g. a TI process cancelled from TM1.

NOT_IMPLEMENTED

static
NOT_IMPLEMENTED

TM1 doesn't implement this request (501).

OTHER

static
OTHER

Anything else.

Also in the Javadoc.