public class ErrorValidationUtils extends Object
Constructor and Description |
---|
ErrorValidationUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkBodyResponseOnError(String errorType,
List<String> variables,
String actualResponse) |
static ErrorInfo |
parseErrorConfigYaml(String error) |
static org.codehaus.jettison.json.JSONObject |
restExceptionFormatBuilder(String messageId,
String text,
List<String> variables,
String type) |
public static void checkBodyResponseOnError(String errorType, List<String> variables, String actualResponse) throws FileNotFoundException, org.codehaus.jettison.json.JSONException
FileNotFoundException
org.codehaus.jettison.json.JSONException
public static org.codehaus.jettison.json.JSONObject restExceptionFormatBuilder(String messageId, String text, List<String> variables, String type)
public static ErrorInfo parseErrorConfigYaml(String error) throws FileNotFoundException
FileNotFoundException
Copyright © 2017. All rights reserved.