@InterfaceAudience.Public @InterfaceStability.Unstable public static class TimelineWriteResponse.TimelineWriteError extends Object
Modifier and Type | Field and Description |
---|---|
static int |
IO_EXCEPTION
Error code returned if an IOException is encountered when storing an
entity.
|
Constructor and Description |
---|
TimelineWriteError() |
Modifier and Type | Method and Description |
---|---|
String |
getEntityId()
Get the entity Id.
|
String |
getEntityType()
Get the entity type.
|
int |
getErrorCode()
Get the error code.
|
void |
setEntityId(String id)
Set the entity Id.
|
void |
setEntityType(String type)
Set the entity type.
|
void |
setErrorCode(int code)
Set the error code to the given error code.
|
public static final int IO_EXCEPTION
public String getEntityId()
public void setEntityId(String id)
id
- the entity Id.public String getEntityType()
public void setEntityType(String type)
type
- the entity type.public int getErrorCode()
public void setErrorCode(int code)
code
- an error code.Copyright © 2024 Apache Software Foundation. All rights reserved.