public interface ErrorResult
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns a human-readable error message.
|
String |
getSubtype()
Returns machine-readable error subtype
An error message of this form can be used to make programmatic decisions.
This value is set by Vault Java SDK Code.
|
String |
getType()
Returns a machine-readable error type
An error message of this form can be used to make programmatic decisions.
If the error is raised by Vault Java SDK Code, for example by calling
RecordChange.setError(String, String) ,
type will always be SDK_ERROR .
The subtype value specified by Vault Java SDK Code can be retrieved using getSubtype()
|
String getMessage()
An error message of this form should not be used to make programmatic decisions.
String getType()
RecordChange.setError(String, String)
,
type
will always be SDK_ERROR
.subtype
value specified by Vault Java SDK Code can be retrieved using getSubtype()
String getSubtype()
RecordChange.setError(String, String)
Copyright © Veeva Systems 2017–2019. All rights reserved.