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.152 -- Release Build+b2d9dfdf9f88883db99a75176343ddd4e07a1f25
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