C# Class Bike.Interpreter.Builtin.ErrorFactory

Afficher le fichier Open project: buunguyen/bike

Méthodes publiques

Méthode Description
CreateAlreadyDefinedError ( string varName ) : BikeObject
CreateClrError ( Exception cause ) : BikeObject
CreateClrError ( string message ) : BikeObject
CreateError ( string message ) : BikeObject
CreateInvalidProgramError ( string message ) : BikeObject
CreateLoadError ( string path ) : BikeObject
CreateNotDefinedError ( string varName ) : BikeObject
CreateNullError ( string varName ) : BikeObject
CreateTypeError ( string message ) : BikeObject
IsAlreadyDefinedError ( BikeObject bo ) : bool
IsClrError ( BikeObject bo ) : bool
IsErrorOfType ( BikeObject bo, string errorType ) : bool
IsNotDefinedError ( BikeObject bo ) : bool
IsTypeError ( BikeObject bo ) : bool

Private Methods

Méthode Description
BuildStackTrace ( ) : BikeString
CreateErrorFromType ( string errorType ) : BikeObject
ResolvePrototype ( string objName ) : BikeObject

Method Details

CreateAlreadyDefinedError() public static méthode

public static CreateAlreadyDefinedError ( string varName ) : BikeObject
varName string
Résultat BikeObject

CreateClrError() public static méthode

public static CreateClrError ( Exception cause ) : BikeObject
cause System.Exception
Résultat BikeObject

CreateClrError() public static méthode

public static CreateClrError ( string message ) : BikeObject
message string
Résultat BikeObject

CreateError() public static méthode

public static CreateError ( string message ) : BikeObject
message string
Résultat BikeObject

CreateInvalidProgramError() public static méthode

public static CreateInvalidProgramError ( string message ) : BikeObject
message string
Résultat BikeObject

CreateLoadError() public static méthode

public static CreateLoadError ( string path ) : BikeObject
path string
Résultat BikeObject

CreateNotDefinedError() public static méthode

public static CreateNotDefinedError ( string varName ) : BikeObject
varName string
Résultat BikeObject

CreateNullError() public static méthode

public static CreateNullError ( string varName ) : BikeObject
varName string
Résultat BikeObject

CreateTypeError() public static méthode

public static CreateTypeError ( string message ) : BikeObject
message string
Résultat BikeObject

IsAlreadyDefinedError() public static méthode

public static IsAlreadyDefinedError ( BikeObject bo ) : bool
bo BikeObject
Résultat bool

IsClrError() public static méthode

public static IsClrError ( BikeObject bo ) : bool
bo BikeObject
Résultat bool

IsErrorOfType() public static méthode

public static IsErrorOfType ( BikeObject bo, string errorType ) : bool
bo BikeObject
errorType string
Résultat bool

IsNotDefinedError() public static méthode

public static IsNotDefinedError ( BikeObject bo ) : bool
bo BikeObject
Résultat bool

IsTypeError() public static méthode

public static IsTypeError ( BikeObject bo ) : bool
bo BikeObject
Résultat bool