com.braintreegateway
public class ValidationError extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
attribute |
private ValidationErrorCode |
code |
private String |
message |
| Constructor and Description |
|---|
ValidationError(String attribute,
ValidationErrorCode code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute()
Returns the attribute that this error references, e.g.
|
ValidationErrorCode |
getCode()
Returns the
ValidationErrorCode for the specific validation error. |
String |
getMessage()
Returns the message associated with the validation error.
|
private String attribute
private ValidationErrorCode code
private String message
public ValidationError(String attribute, ValidationErrorCode code, String message)
public String getAttribute()
public ValidationErrorCode getCode()
ValidationErrorCode for the specific validation error.ValidationErrorCode.Copyright © 2013-2014. All Rights Reserved.