summaryrefslogtreecommitdiffstats
path: root/xacml-test/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'xacml-test/src/main/java')
-rw-r--r--xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java b/xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java
index 16bea1d1..70f9ebc0 100644
--- a/xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java
+++ b/xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java
@@ -69,8 +69,7 @@ public class TestUtils {
try {
serviceTemplate = yamlCoder.decode(policyYaml, ToscaServiceTemplate.class);
} catch (CoderException e) {
- throw new XacmlApplicationException("Failed to decode policy from resource file "
- + e.getLocalizedMessage());
+ throw new XacmlApplicationException("Failed to decode policy from resource file", e);
}
//
// Make sure all the fields are setup properly