8279043: Some Security Exception Messages Miss Spaces

Reviewed-by: weijun
This commit is contained in:
Daniel Jelinski 2021-12-21 18:24:31 +00:00 committed by Weijun Wang
parent f7309060de
commit f31dead6c5
16 changed files with 21 additions and 21 deletions

View file

@ -154,7 +154,7 @@ implements CertAttrSet<String> {
if (next.isContextSpecific(TAG_REQUIRE) && !next.isConstructed()) {
if (this.require != -1)
throw new IOException("Duplicate requireExplicitPolicy" +
throw new IOException("Duplicate requireExplicitPolicy " +
"found in the PolicyConstraintsExtension");
next.resetTag(DerValue.tag_Integer);
this.require = next.getInteger();
@ -162,7 +162,7 @@ implements CertAttrSet<String> {
} else if (next.isContextSpecific(TAG_INHIBIT) &&
!next.isConstructed()) {
if (this.inhibit != -1)
throw new IOException("Duplicate inhibitPolicyMapping" +
throw new IOException("Duplicate inhibitPolicyMapping " +
"found in the PolicyConstraintsExtension");
next.resetTag(DerValue.tag_Integer);
this.inhibit = next.getInteger();

View file

@ -202,7 +202,7 @@ public class PolicyInformation {
if (obj instanceof Set) {
for (Object obj1 : (Set<?>) obj) {
if (!(obj1 instanceof PolicyQualifierInfo)) {
throw new IOException("Attribute value must be a" +
throw new IOException("Attribute value must be a " +
"Set of PolicyQualifierInfo objects.");
}
}