public abstract class ApiError extends Object implements Serializable
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
| Constructor and Description |
|---|
ApiError() |
ApiError(String fieldPath,
String trigger,
String errorString,
String apiErrorType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApiErrorType()
Gets the apiErrorType value for this ApiError.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getErrorString()
Gets the errorString value for this ApiError.
|
String |
getFieldPath()
Gets the fieldPath value for this ApiError.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String |
getTrigger()
Gets the trigger value for this ApiError.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setApiErrorType(String apiErrorType)
Sets the apiErrorType value for this ApiError.
|
void |
setErrorString(String errorString)
Sets the errorString value for this ApiError.
|
void |
setFieldPath(String fieldPath)
Sets the fieldPath value for this ApiError.
|
void |
setTrigger(String trigger)
Sets the trigger value for this ApiError.
|
public String getFieldPath()
public void setFieldPath(String fieldPath)
fieldPath - * The OGNL field path to identify cause of error.public String getTrigger()
public void setTrigger(String trigger)
trigger - * The data that caused the error.public String getErrorString()
public void setErrorString(String errorString)
errorString - * A simple string representation of the error and reason.public String getApiErrorType()
public void setApiErrorType(String apiErrorType)
apiErrorType - * Indicates that this instance is a subtype of ApiError.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.