Skip to content

IFatalErrorHandler Methods

Interface for controlling how fatal errors (such as a silo being declared defunct) are handled.

IsUnexpected(Exception)

abstract
public abstract bool IsUnexpected(Exception exception)
Determines whether the specified exception is unexpected.

Parameters

exceptionException
The exception.

Returns

true if the specified exception is unexpected; otherwise, false.

OnFatalException(object, string, Exception)

abstract
public abstract void OnFatalException(object sender = null, string context = null, Exception exception = null)
Called when a fatal exception occurs.

Parameters

senderobject
The sender.
contextstring
The context.
exceptionException
The exception.