Skip to content

T_CodeJam_IO_IoCodeExceptions

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

IoCodeExceptions Class

IO exception factory class

Inheritance Hierarchy

System.Object
  CodeJam.IO.IoCodeExceptions
Namespace: CodeJam.IO
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static class IoCodeExceptions

VB

Public NotInheritable Class IoCodeExceptions

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type IoCodeExceptions =  class end

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

CodeJam.IO Namespace

Clone this wiki locally