public static void assertPath ( String pathName ) throws IllegalArgumentException { String ids [ ] = toPath ( pathName ) ; for ( int i = 0 ; i < ids . length ; i ++ ) { assertIdentifier ( ids [ i ] ) ; } }
Throws an exception if the given string is not a valid identifier path name .