Commit 10ebbac4 authored by cdanger's avatar cdanger

- Improved exception message in CoreRefBasedRootPolicyProviderModule

parent 5bcc320e
......@@ -136,12 +136,12 @@ public class CoreRefBasedRootPolicyProviderModule implements StaticRootPolicyPro
}
catch (final IndeterminateEvaluationException e)
{
throw new IllegalArgumentException("Failed to find a root PolicySet with id = " + policySetId + ", " + versionPatterns, e);
throw new IllegalArgumentException("Failed to find a root PolicySet with id = '" + policySetId + "', " + versionPatterns, e);
}
if (rootPolicy == null)
{
throw new IllegalArgumentException("No policy found by the refPolicyProvider for the specified PolicySetIdReference: PolicySetId = " + policySetId + "; " + versionPatterns);
throw new IllegalArgumentException("No policy found by the refPolicyProvider for the specified PolicySetIdReference: PolicySetId = '" + policySetId + "'; " + versionPatterns);
}
}
catch (final IOException e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment