Exceptions
Quick explanation on exception errors which usually occur whilst modding the game.
Numbered explanations means it could be one of the listed issues.
ArgumentException
Path is a zero-length string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars
.
ArgumentNullException
Path is null.
DirectoryNotFoundException
The specified path is invalid.
Example: It is on an unmapped drive.
IOException
- The specified file is in use.
- There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files.
NotSupportedException
Path is in an invalid format.
PathTooLongException
The specified path, file name, or both exceed the system-defined maximum length.
UnauthorizedAccessException
- The caller does not have the required permission.
This could mean that a program is also blocking the user from accessing the file, such asAnti Viruses, and programs that would block suspicious programs/processes/activity
Other causes would be not having rights aka lacking admin rights and the likes. i.e your user or pc has insufficient rights to access/write files and data in anyway. - The file is an executable file that is in use.
- Path is a directory.
- Path specified a read-only file.