Javadoc
Throws an exception if a segment any characters other than pchar
characters. [M1.6]
Throws an exception if a segment contain percent-encoded forward slash
('/'), or backward slash ('\') characters. [M1.7]
Throws an exception if a segment contain percent-encoded unreserved
characters. [M1.8]