Gemstone Timeseries Library
Show/Hide TOC

# AdapterCollectionBase T OnProcessException Method

Raises the ProcessException event.

## Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.172 -- Release Build+ace768d5e4de8ccdda90a0d8c11832c746f370e1
C#
View Source Request Example

    protected virtual void OnProcessException(
    	MessageLevel level,
    	Exception exception,
    	string? eventName = null,
    	MessageFlags flags = MessageFlags.None
    )

VB
View Source Request Example

    Protected Overridable Sub OnProcessException (
    	level As MessageLevel,
    	exception As Exception,
    	Optional eventName As String = Nothing,
    	Optional flags As MessageFlags = MessageFlags.None
    )

C++
View Source Request Example

    protected:
    virtual void OnProcessException(
    	MessageLevel level,
    	Exception^ exception,
    	String^ eventName = nullptr,
    	MessageFlags flags = MessageFlags::None
    )

JavaScript
View Source Request Example

    function OnProcessException(level, exception, eventName, flags);

#### Parameters

level MessageLevel
  The MessageLevel to assign to this message
exception Exception
  Processing Exception.
eventName String (Optional)
  A fixed string to classify this event; defaults to null.
flags MessageFlags (Optional)
  MessageFlags to use, if any; defaults to None.

## Remarks

should be a constant string value associated with what type of message is being generated. In general, there should only be a few dozen distinct event names per class. Exceeding this threshold will cause the EventName to be replaced with a general warning that a usage issue has occurred.

## See Also

#### Reference

AdapterCollectionBaseT Class
Gemstone.Timeseries.Adapters Namespace