Skip to content

Methods_T_CodeJam_IO_IoCodeExceptions

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

IoCodeExceptions Methods

The IoCodeExceptions type exposes the following members.

Methods

 

Name Description
Public method Static member ArgumentDirectoryExistsFileExpected Creates FileNotFoundException for missing file when there is a dictionary.
Public method Static member ArgumentDirectoryNotFound Creates DirectoryNotFoundException for missing directory.
Public method Static member ArgumentFileExistsDirectoryExpected Creates DirectoryNotFoundException for missing directory when there is a file.
Public method Static member ArgumentFileNotFound Creates FileNotFoundException for missing file.
Public method Static member ArgumentNotSimpleName Creates ArgumentException for invalid simple name.
Public method Static member ArgumentNotVolumeOrDirectoryPath Creates ArgumentException if path does not ends with one of path separator chars.
Public method Static member ArgumentNotWellFormedAbsolutePath Creates ArgumentException for invalid full path.
Public method Static member ArgumentNotWellFormedPath Creates ArgumentException for invalid path.
Public method Static member ArgumentRootedOrNotRelativePath Creates ArgumentException for invalid relative path.
Public method Static member DirectoryExists Creates IOException(String, Object[]) for directory that should not exist.
Public method Static member FileExists Creates IOException(String, Object[]) for file that should not exist.
Public method Static member IOException Creates IOException(String, Object[]).
  Back to Top

See Also

Reference

IoCodeExceptions Class
CodeJam.IO Namespace

Clone this wiki locally