Interface IErrorHandler
User must implement this interface for handling error and warning.
Namespace: FixAntenna.FixEngine
Assembly: FixAntenna.Core.dll
Syntax
public interface IErrorHandler
Methods
OnError(String, Exception)
This method is invoked every time when error is occurred.
Declaration
void OnError(string description, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | error description |
System.Exception | throwable | error |
OnFatalError(String, Exception)
This method is invoked every time when fatal error is occurred.
Declaration
void OnFatalError(string description, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | fatal error description |
System.Exception | throwable | error |
OnWarn(String, Exception)
This method is invoked every time when warning is occurred.
Declaration
void OnWarn(string description, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | warn description |
System.Exception | throwable | error |