Class UnsupportedDirectoryStringException

All Implemented Interfaces:
Serializable

public final class UnsupportedDirectoryStringException extends IllegalArgumentException
Thrown by Pkix.parseDistinguishedName(byte[]) when a relative distinguished name carries an attribute value whose ASN.1 string type is not one of the supported directory string types (UTF8String, PrintableString, IA5String).

This is a distinct subtype of IllegalArgumentException so that callers that apply a strict subject-naming policy can separate an unsupported value encoding from a structurally malformed name.

See Also:
  • Constructor Details

    • UnsupportedDirectoryStringException

      public UnsupportedDirectoryStringException(String message)
      Creates the exception with the given message.
      Parameters:
      message - the detail message