public class RecordError extends Object implements Serializable, Cloneable
The error code and description resulting from an operation.
| Constructor and Description |
|---|
RecordError() |
| Modifier and Type | Method and Description |
|---|---|
RecordError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The numeric value of the error.
|
String |
getDescription()
The text description of the error.
|
int |
hashCode() |
void |
setCode(String code)
The numeric value of the error.
|
void |
setDescription(String description)
The text description of the error.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecordError |
withCode(String code)
The numeric value of the error.
|
RecordError |
withDescription(String description)
The text description of the error.
|
public void setCode(String code)
The numeric value of the error.
code - The numeric value of the error.public String getCode()
The numeric value of the error.
public RecordError withCode(String code)
The numeric value of the error.
code - The numeric value of the error.public void setDescription(String description)
The text description of the error.
description - The text description of the error.public String getDescription()
The text description of the error.
public RecordError withDescription(String description)
The text description of the error.
description - The text description of the error.public String toString()
toString in class ObjectObject.toString()public RecordError clone()
Copyright © 2016. All rights reserved.