public class ErrorInformation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a deployment error.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The error code:
|
private java.lang.String |
message
An accompanying error message.
|
Constructor and Description |
---|
ErrorInformation() |
Modifier and Type | Method and Description |
---|---|
ErrorInformation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The error code:
|
java.lang.String |
getMessage()
An accompanying error message.
|
int |
hashCode() |
void |
setCode(ErrorCode code)
The error code:
|
void |
setCode(java.lang.String code)
The error code:
|
void |
setMessage(java.lang.String message)
An accompanying error message.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ErrorInformation |
withCode(ErrorCode code)
The error code:
|
ErrorInformation |
withCode(java.lang.String code)
The error code:
|
ErrorInformation |
withMessage(java.lang.String message)
An accompanying error message.
|
private java.lang.String code
The error code:
private java.lang.String message
An accompanying error message.
public void setCode(java.lang.String code)
The error code:
code
- The error code:
ErrorCode
public java.lang.String getCode()
The error code:
ErrorCode
public ErrorInformation withCode(java.lang.String code)
The error code:
code
- The error code:
ErrorCode
public void setCode(ErrorCode code)
The error code:
code
- The error code:
ErrorCode
public ErrorInformation withCode(ErrorCode code)
The error code:
code
- The error code:
ErrorCode
public void setMessage(java.lang.String message)
An accompanying error message.
message
- An accompanying error message.public java.lang.String getMessage()
An accompanying error message.
public ErrorInformation withMessage(java.lang.String message)
An accompanying error message.
message
- An accompanying error message.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ErrorInformation clone()
clone
in class java.lang.Object