Mercurial > stress-tester
changeset 446:a6697ffb881c
NodeCoversionException -> NodeConversionException
author | Devel 2 |
---|---|
date | Mon, 31 Jul 2017 09:27:19 +0200 |
parents | cf6662b69c07 |
children | b94661105617 |
files | stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateNodeDefinition.java stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateTransformer.java |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateNodeDefinition.java Mon Jul 31 09:19:32 2017 +0200 +++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateNodeDefinition.java Mon Jul 31 09:27:19 2017 +0200 @@ -6,7 +6,7 @@ import com.passus.config.CMapNode; import com.passus.config.CNode; import com.passus.config.CValueNode; -import com.passus.config.NodeCoversionException; +import com.passus.config.NodeConversionException; import com.passus.config.schema.NodeDefinition; import com.passus.config.validation.Errors; import static com.passus.config.validation.ValidationDefaultMessages.GENERAL_CONVERSATION_ERROR; @@ -33,7 +33,7 @@ protected void doValidate(CNode node, Errors errors) { try { TRANSFORMER.transform(node); - } catch (NodeCoversionException ex) { + } catch (NodeConversionException ex) { errors.reject(node, ex.getMessage()); } catch (ConversionException ex) { errors.reject(node, GENERAL_CONVERSATION_ERROR); @@ -45,7 +45,7 @@ try { Predicate predicate = TRANSFORMER.transform(node); return new CValueNode(new HttpMessagePredicate(predicate)); - } catch (NodeCoversionException ex) { + } catch (NodeConversionException ex) { errors.reject(node, ex.getMessage()); } catch (ConversionException ex) { errors.reject(node, GENERAL_CONVERSATION_ERROR);
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateTransformer.java Mon Jul 31 09:19:32 2017 +0200 +++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpFilterMessagePredicateTransformer.java Mon Jul 31 09:27:19 2017 +0200 @@ -3,7 +3,7 @@ import com.passus.commons.ConversionException; import com.passus.config.CNode; import com.passus.config.CValueNode; -import com.passus.config.NodeCoversionException; +import com.passus.config.NodeConversionException; import com.passus.config.schema.NodeTransformer; import com.passus.config.validation.Errors; import static com.passus.config.validation.ValidationDefaultMessages.GENERAL_CONVERSATION_ERROR; @@ -23,7 +23,7 @@ try { Predicate predicate = nodeTransformer.transform(node); return new CValueNode(new HttpMessagePredicate(predicate)); - } catch (NodeCoversionException ex) { + } catch (NodeConversionException ex) { errors.reject(node, ex.getMessage()); } catch (ConversionException ex) { errors.reject(node, GENERAL_CONVERSATION_ERROR);