public class UnsuccessfulItemError extends Object implements Serializable, Cloneable
Information about the error that occured. For more information about errors, see Error Codes .
Constructor and Description |
---|
UnsuccessfulItemError() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulItemError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message accompanying the error code.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message accompanying the error code.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsuccessfulItemError |
withCode(String code)
The error code.
|
UnsuccessfulItemError |
withMessage(String message)
The error message accompanying the error code.
|
public String getCode()
public void setCode(String code)
code
- The error code.public UnsuccessfulItemError withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The error code.public String getMessage()
public void setMessage(String message)
message
- The error message accompanying the error code.public UnsuccessfulItemError withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The error message accompanying the error code.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulItemError clone()
Copyright © 2015. All rights reserved.