public void createSymbolicLink (Path link, Path target, FileAttribute<?>… attrs) throws IOException

Creates a symbolic link to a target. This method works in exactly the manner specified by the Files.createSymbolicLink method.

The default implementation of this method throws UnsupportedOperationException.

link     the path of the symbolic link to create
target     the target of the symbolic link
attrs     the array of attributes to set atomically when creating the symbolic link

UnsupportedOperationException     if the implementation does not support symbolic links or the array contains an attribute that cannot be set atomically when creating the symbolic link
FileAlreadyExistsException     if a file with the name already exists (optional specific exception)
IOException     if an I/O error occurs
SecurityException     In the case of the default provider, and a security manager is installed, it denies LinkPermission("symbolic") or its checkWrite method denies write access to the path of the symbolic link.