More examples of optimization policies and cleanup
[policy/xacml-pdp.git] / xacml-test / src / main / java / org / onap / policy / pdp / xacml / xacmltest / TestUtils.java
index 16bea1d..70f9ebc 100644 (file)
@@ -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