public class ErrorInformation extends Object implements Serializable, Cloneable
Information about a deployment error.
Constructor and Description |
---|
ErrorInformation() |
Modifier and Type | Method and Description |
---|---|
ErrorInformation |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code:
|
String |
getMessage()
An accompanying error message.
|
int |
hashCode() |
void |
setCode(ErrorCode code)
The error code:
|
void |
setCode(String code)
The error code:
|
void |
setMessage(String message)
An accompanying error message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ErrorInformation |
withCode(ErrorCode code)
The error code:
|
ErrorInformation |
withCode(String code)
The error code:
|
ErrorInformation |
withMessage(String message)
An accompanying error message.
|
public void setCode(String code)
The error code:
code
- The error code:
ErrorCode
public String getCode()
The error code:
ErrorCode
public ErrorInformation withCode(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(String message)
An accompanying error message.
message
- An accompanying error message.public String getMessage()
An accompanying error message.
public ErrorInformation withMessage(String message)
An accompanying error message.
message
- An accompanying error message.public String toString()
toString
in class Object
Object.toString()
public ErrorInformation clone()
Copyright © 2017. All rights reserved.