public class ValidationError extends Object implements Serializable
Information about an error found in a behavior specification.
| Constructor and Description |
|---|
ValidationError() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getErrorMessage()
The description of an error found in the behaviors.
|
int |
hashCode() |
void |
setErrorMessage(String errorMessage)
The description of an error found in the behaviors.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidationError |
withErrorMessage(String errorMessage)
The description of an error found in the behaviors.
|
public String getErrorMessage()
The description of an error found in the behaviors.
Constraints:
Length: - 2048
The description of an error found in the behaviors.
public void setErrorMessage(String errorMessage)
The description of an error found in the behaviors.
Constraints:
Length: - 2048
errorMessage - The description of an error found in the behaviors.
public ValidationError withErrorMessage(String errorMessage)
The description of an error found in the behaviors.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
errorMessage - The description of an error found in the behaviors.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.