C# 클래스 IronRuby.Runtime.RubyExceptions

Helper class for creating the corresponding .NET exceptions from the Ruby error names
파일 보기 프로젝트 열기: ExpertsInside/IronSP 1 사용 예제들

공개 메소드들

메소드 설명
CannotConvertTypeToTargetType ( RubyContext context, object param, string toType ) : Exception
CreateAllocatorUndefinedError ( RubyClass rubyClass ) : Exception
CreateArgumentError ( DecoderFallbackException e, IronRuby.Builtins.RubyEncoding encoding ) : Exception
CreateArgumentError ( EncoderFallbackException e, IronRuby.Builtins.RubyEncoding encoding ) : Exception
CreateArgumentError ( Exception innerException, string message ) : Exception
CreateArgumentError ( string message ) : Exception
CreateEBADF ( ) : Exception
CreateEEXIST ( ) : Exception
CreateEEXIST ( Exception inner, string message ) : Exception
CreateEEXIST ( string message ) : Exception
CreateEINVAL ( ) : Exception
CreateEINVAL ( Exception inner, string message ) : Exception
CreateEINVAL ( string message ) : Exception
CreateENOENT ( ) : Exception
CreateENOENT ( Exception inner, string message ) : Exception
CreateENOENT ( string message ) : Exception
CreateEncodingCompatibilityError ( IronRuby.Builtins.RubyEncoding encoding1, IronRuby.Builtins.RubyEncoding encoding2 ) : Exception
CreateIOError ( string message ) : Exception
CreateIndexError ( string message ) : Exception
CreateLoadError ( Exception innerException ) : Exception
CreateLoadError ( string message ) : Exception
CreateLocalJumpError ( string message ) : Exception
CreateMethodMissing ( RubyContext context, object self, string name ) : Exception
CreateMissingDefaultConstructorError ( RubyClass rubyClass, string initializerOwnerName ) : Exception
CreateNameError ( string message ) : Exception
CreateNotClrTypeError ( RubyClass rubyClass ) : Exception
CreateNotImplementedError ( string message ) : Exception
CreateObjectFrozenError ( ) : Exception
CreatePrivateMethodCalled ( RubyContext context, object self, string name ) : Exception
CreateProtectedMethodCalled ( RubyContext context, object self, string name ) : Exception
CreateRangeError ( string message ) : Exception
CreateRangeError ( string paramName, string message ) : Exception
CreateReturnTypeError ( string className, string methodName, string returnTypeName ) : Exception
CreateRuntimeError ( string message ) : Exception
CreateSecurityError ( string message ) : Exception
CreateSystemCallError ( string message ) : Exception
CreateTypeConversionError ( string fromType, string toType ) : Exception
CreateTypeError ( Exception innerException, string message ) : Exception
CreateTypeError ( string message ) : Exception
CreateUndefinedMethodError ( RubyModule module, string methodName ) : Exception
CreateUnexpectedTypeError ( RubyContext context, object param, string type ) : Exception
FormatMessage ( string message ) : string
FormatMethodMissingMessage ( RubyContext context, object self, string name ) : string
InvalidValueForType ( RubyContext context, object obj, string type ) : Exception
MakeCoercionError ( RubyContext context, object self, object other ) : Exception
MakeComparisonError ( RubyContext context, object self, object other ) : Exception
MakeMessage ( MutableString &message, string baseMessage ) : string
MakeMessage ( string message, string baseMessage ) : string
NoBlockGiven ( ) : Exception

비공개 메소드들

메소드 설명
CreateMethodMissing ( string message ) : Exception
FormatMethodMissingMessage ( RubyContext context, object obj, string name, string message ) : string

메소드 상세

CannotConvertTypeToTargetType() 공개 정적인 메소드

public static CannotConvertTypeToTargetType ( RubyContext context, object param, string toType ) : Exception
context RubyContext
param object
toType string
리턴 System.Exception

CreateAllocatorUndefinedError() 공개 정적인 메소드

public static CreateAllocatorUndefinedError ( RubyClass rubyClass ) : Exception
rubyClass IronRuby.Builtins.RubyClass
리턴 System.Exception

CreateArgumentError() 공개 정적인 메소드

public static CreateArgumentError ( DecoderFallbackException e, IronRuby.Builtins.RubyEncoding encoding ) : Exception
e System.Text.DecoderFallbackException
encoding IronRuby.Builtins.RubyEncoding
리턴 System.Exception

CreateArgumentError() 공개 정적인 메소드

public static CreateArgumentError ( EncoderFallbackException e, IronRuby.Builtins.RubyEncoding encoding ) : Exception
e System.Text.EncoderFallbackException
encoding IronRuby.Builtins.RubyEncoding
리턴 System.Exception

CreateArgumentError() 공개 정적인 메소드

public static CreateArgumentError ( Exception innerException, string message ) : Exception
innerException System.Exception
message string
리턴 System.Exception

CreateArgumentError() 공개 정적인 메소드

public static CreateArgumentError ( string message ) : Exception
message string
리턴 System.Exception

CreateEBADF() 공개 정적인 메소드

public static CreateEBADF ( ) : Exception
리턴 System.Exception

CreateEEXIST() 공개 정적인 메소드

public static CreateEEXIST ( ) : Exception
리턴 System.Exception

CreateEEXIST() 공개 정적인 메소드

public static CreateEEXIST ( Exception inner, string message ) : Exception
inner System.Exception
message string
리턴 System.Exception

CreateEEXIST() 공개 정적인 메소드

public static CreateEEXIST ( string message ) : Exception
message string
리턴 System.Exception

CreateEINVAL() 공개 정적인 메소드

public static CreateEINVAL ( ) : Exception
리턴 System.Exception

CreateEINVAL() 공개 정적인 메소드

public static CreateEINVAL ( Exception inner, string message ) : Exception
inner System.Exception
message string
리턴 System.Exception

CreateEINVAL() 공개 정적인 메소드

public static CreateEINVAL ( string message ) : Exception
message string
리턴 System.Exception

CreateENOENT() 공개 정적인 메소드

public static CreateENOENT ( ) : Exception
리턴 System.Exception

CreateENOENT() 공개 정적인 메소드

public static CreateENOENT ( Exception inner, string message ) : Exception
inner System.Exception
message string
리턴 System.Exception

CreateENOENT() 공개 정적인 메소드

public static CreateENOENT ( string message ) : Exception
message string
리턴 System.Exception

CreateEncodingCompatibilityError() 공개 정적인 메소드

public static CreateEncodingCompatibilityError ( IronRuby.Builtins.RubyEncoding encoding1, IronRuby.Builtins.RubyEncoding encoding2 ) : Exception
encoding1 IronRuby.Builtins.RubyEncoding
encoding2 IronRuby.Builtins.RubyEncoding
리턴 System.Exception

CreateIOError() 공개 정적인 메소드

public static CreateIOError ( string message ) : Exception
message string
리턴 System.Exception

CreateIndexError() 공개 정적인 메소드

public static CreateIndexError ( string message ) : Exception
message string
리턴 System.Exception

CreateLoadError() 공개 정적인 메소드

public static CreateLoadError ( Exception innerException ) : Exception
innerException System.Exception
리턴 System.Exception

CreateLoadError() 공개 정적인 메소드

public static CreateLoadError ( string message ) : Exception
message string
리턴 System.Exception

CreateLocalJumpError() 공개 정적인 메소드

public static CreateLocalJumpError ( string message ) : Exception
message string
리턴 System.Exception

CreateMethodMissing() 공개 정적인 메소드

public static CreateMethodMissing ( RubyContext context, object self, string name ) : Exception
context RubyContext
self object
name string
리턴 System.Exception

CreateMissingDefaultConstructorError() 공개 정적인 메소드

public static CreateMissingDefaultConstructorError ( RubyClass rubyClass, string initializerOwnerName ) : Exception
rubyClass IronRuby.Builtins.RubyClass
initializerOwnerName string
리턴 System.Exception

CreateNameError() 공개 정적인 메소드

public static CreateNameError ( string message ) : Exception
message string
리턴 System.Exception

CreateNotClrTypeError() 공개 정적인 메소드

public static CreateNotClrTypeError ( RubyClass rubyClass ) : Exception
rubyClass IronRuby.Builtins.RubyClass
리턴 System.Exception

CreateNotImplementedError() 공개 정적인 메소드

public static CreateNotImplementedError ( string message ) : Exception
message string
리턴 System.Exception

CreateObjectFrozenError() 공개 정적인 메소드

public static CreateObjectFrozenError ( ) : Exception
리턴 System.Exception

CreatePrivateMethodCalled() 공개 정적인 메소드

public static CreatePrivateMethodCalled ( RubyContext context, object self, string name ) : Exception
context RubyContext
self object
name string
리턴 System.Exception

CreateProtectedMethodCalled() 공개 정적인 메소드

public static CreateProtectedMethodCalled ( RubyContext context, object self, string name ) : Exception
context RubyContext
self object
name string
리턴 System.Exception

CreateRangeError() 공개 정적인 메소드

public static CreateRangeError ( string message ) : Exception
message string
리턴 System.Exception

CreateRangeError() 공개 정적인 메소드

public static CreateRangeError ( string paramName, string message ) : Exception
paramName string
message string
리턴 System.Exception

CreateReturnTypeError() 공개 정적인 메소드

public static CreateReturnTypeError ( string className, string methodName, string returnTypeName ) : Exception
className string
methodName string
returnTypeName string
리턴 System.Exception

CreateRuntimeError() 공개 정적인 메소드

public static CreateRuntimeError ( string message ) : Exception
message string
리턴 System.Exception

CreateSecurityError() 공개 정적인 메소드

public static CreateSecurityError ( string message ) : Exception
message string
리턴 System.Exception

CreateSystemCallError() 공개 정적인 메소드

public static CreateSystemCallError ( string message ) : Exception
message string
리턴 System.Exception

CreateTypeConversionError() 공개 정적인 메소드

public static CreateTypeConversionError ( string fromType, string toType ) : Exception
fromType string
toType string
리턴 System.Exception

CreateTypeError() 공개 정적인 메소드

public static CreateTypeError ( Exception innerException, string message ) : Exception
innerException System.Exception
message string
리턴 System.Exception

CreateTypeError() 공개 정적인 메소드

public static CreateTypeError ( string message ) : Exception
message string
리턴 System.Exception

CreateUndefinedMethodError() 공개 정적인 메소드

public static CreateUndefinedMethodError ( RubyModule module, string methodName ) : Exception
module IronRuby.Builtins.RubyModule
methodName string
리턴 System.Exception

CreateUnexpectedTypeError() 공개 정적인 메소드

public static CreateUnexpectedTypeError ( RubyContext context, object param, string type ) : Exception
context RubyContext
param object
type string
리턴 System.Exception

FormatMessage() 공개 정적인 메소드

public static FormatMessage ( string message ) : string
message string
리턴 string

FormatMethodMissingMessage() 공개 정적인 메소드

public static FormatMethodMissingMessage ( RubyContext context, object self, string name ) : string
context RubyContext
self object
name string
리턴 string

InvalidValueForType() 공개 정적인 메소드

public static InvalidValueForType ( RubyContext context, object obj, string type ) : Exception
context RubyContext
obj object
type string
리턴 System.Exception

MakeCoercionError() 공개 정적인 메소드

public static MakeCoercionError ( RubyContext context, object self, object other ) : Exception
context RubyContext
self object
other object
리턴 System.Exception

MakeComparisonError() 공개 정적인 메소드

public static MakeComparisonError ( RubyContext context, object self, object other ) : Exception
context RubyContext
self object
other object
리턴 System.Exception

MakeMessage() 공개 정적인 메소드

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

MakeMessage() 공개 정적인 메소드

public static MakeMessage ( string message, string baseMessage ) : string
message string
baseMessage string
리턴 string

NoBlockGiven() 공개 정적인 메소드

public static NoBlockGiven ( ) : Exception
리턴 System.Exception