C# Class IronRuby.Builtins.RubyErrno

Helper class for creating the corresponding .NET exceptions from the Ruby Errno
Mostra file Open project: ExpertsInside/IronSP

Public Methods

Method Description
CreateEEXIST ( ) : ExistError
CreateEEXIST ( string message ) : ExistError
CreateEEXIST ( string message, Exception inner ) : ExistError
CreateEINVAL ( ) : InvalidError
CreateEINVAL ( string message ) : InvalidError
CreateEINVAL ( string message, Exception inner ) : InvalidError
CreateENOENT ( ) : FileNotFoundException
CreateENOENT ( string message ) : FileNotFoundException
CreateENOENT ( string message, Exception inner ) : FileNotFoundException
MakeMessage ( MutableString &message, string baseMessage ) : string
MakeMessage ( string message, string baseMessage ) : string

Method Details

CreateEEXIST() public static method

public static CreateEEXIST ( ) : ExistError
return ExistError

CreateEEXIST() public static method

public static CreateEEXIST ( string message ) : ExistError
message string
return ExistError

CreateEEXIST() public static method

public static CreateEEXIST ( string message, Exception inner ) : ExistError
message string
inner System.Exception
return ExistError

CreateEINVAL() public static method

public static CreateEINVAL ( ) : InvalidError
return InvalidError

CreateEINVAL() public static method

public static CreateEINVAL ( string message ) : InvalidError
message string
return InvalidError

CreateEINVAL() public static method

public static CreateEINVAL ( string message, Exception inner ) : InvalidError
message string
inner System.Exception
return InvalidError

CreateENOENT() public static method

public static CreateENOENT ( ) : FileNotFoundException
return System.IO.FileNotFoundException

CreateENOENT() public static method

public static CreateENOENT ( string message ) : FileNotFoundException
message string
return System.IO.FileNotFoundException

CreateENOENT() public static method

public static CreateENOENT ( string message, Exception inner ) : FileNotFoundException
message string
inner System.Exception
return System.IO.FileNotFoundException

MakeMessage() public static method

public static MakeMessage ( MutableString &message, string baseMessage ) : string
message MutableString
baseMessage string
return string

MakeMessage() public static method

public static MakeMessage ( string message, string baseMessage ) : string
message string
baseMessage string
return string