@Public
@Evolving
public static class TimelinePutResponse.TimelinePutError
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ACCESS_DENIED |
Error code returned if the user is denied to access the timeline data
|
static int |
EXPIRED_ENTITY |
Error code returned if the entity start time is before the eviction
period of old data.
|
static int |
FORBIDDEN_RELATION |
Error code returned if the user is denied to relate the entity to another
one in different domain
|
static int |
IO_EXCEPTION |
Error code returned if an IOException is encountered when putting an
entity.
|
static int |
NO_DOMAIN |
Error code returned if the entity doesn't have an valid domain ID
|
static int |
NO_START_TIME |
Error code returned when no start time can be found when putting an
entity.
|
static int |
SYSTEM_FILTER_CONFLICT |
Error code returned if the user specifies the timeline system reserved
filter key
|
| Constructor | Description |
|---|---|
TimelinePutError() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getEntityId() |
Get the entity Id
|
java.lang.String |
getEntityType() |
Get the entity type
|
int |
getErrorCode() |
Get the error code
|
void |
setEntityId(java.lang.String entityId) |
Set the entity Id
|
void |
setEntityType(java.lang.String entityType) |
Set the entity type
|
void |
setErrorCode(int errorCode) |
Set the error code to the given error code
|
public static final int NO_START_TIME
public static final int IO_EXCEPTION
public static final int SYSTEM_FILTER_CONFLICT
public static final int ACCESS_DENIED
public static final int NO_DOMAIN
public static final int FORBIDDEN_RELATION
public static final int EXPIRED_ENTITY
public java.lang.String getEntityId()
public void setEntityId(java.lang.String entityId)
entityId - the entity Idpublic java.lang.String getEntityType()
public void setEntityType(java.lang.String entityType)
entityType - the entity typepublic int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - an error codeCopyright © 2008–2025 Apache Software Foundation. All rights reserved.