Oracle Solution for Error ora-30151

Solution for Oracle Error ORA-30151

ORA-30151: File already exists

What triggered the Error:

Tried to open a file with OCI_FILE_EXCL flag and the file already exists.

What should we do to fix it:

OCIFile is supposed throw this exception in this case.