C# Class Pokemon3D.Scripting.ErrorHandler

Handles ScriptProcessor errors.
Afficher le fichier Open project: nilllzz/Pokemon3D Class Usage Examples

Méthodes publiques

Méthode Description
ErrorHandler ( ScriptProcessor processor ) : Pokemon3D.Scripting.Types
ThrowError ( ErrorType errorType, string message ) : SObject

Throws an error with the given ErrorType and error message.

ThrowError ( SObject errorObject ) : SObject

Throws an error with the given error object.

Private Methods

Méthode Description
Clean ( ) : void

Method Details

ErrorHandler() public méthode

public ErrorHandler ( ScriptProcessor processor ) : Pokemon3D.Scripting.Types
processor ScriptProcessor
Résultat Pokemon3D.Scripting.Types

ThrowError() public méthode

Throws an error with the given ErrorType and error message.
public ThrowError ( ErrorType errorType, string message ) : SObject
errorType ErrorType
message string
Résultat Pokemon3D.Scripting.Types.SObject

ThrowError() public méthode

Throws an error with the given error object.
public ThrowError ( SObject errorObject ) : SObject
errorObject Pokemon3D.Scripting.Types.SObject
Résultat Pokemon3D.Scripting.Types.SObject