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

See Also

Reference

CodeJam.IO Namespace

Clone this wiki locally