diff options
Diffstat (limited to 'xacml-test/src/main/java/org')
-rw-r--r-- | xacml-test/src/main/java/org/onap/policy/pdp/xacml/xacmltest/TestUtils.java | 3 |
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 |