Table of Contents

Class IBlobCache.ExceptionHelpers

Namespace
Akavache
Assembly
Akavache.dll

Exception helpers for implementers of the class.

public static class IBlobCache.ExceptionHelpers
Inheritance
IBlobCache.ExceptionHelpers

Methods

ObservableThrowKeyNotFoundException<T>(string, Exception?)

Throws an key not found exception in an observable.

public static IObservable<T> ObservableThrowKeyNotFoundException<T>(string key, Exception? innerException = null)

Parameters

key string

The key not found.

innerException Exception

The inner exception if any.

Returns

IObservable<T>

The observable.

Type Parameters

T

The type of value.

ObservableThrowObjectDisposedException<T>(string, Exception?)

Throws an exception that the object is disposed.

public static IObservable<T> ObservableThrowObjectDisposedException<T>(string obj, Exception? innerException = null)

Parameters

obj string

The object name that is disposed.

innerException Exception

The inner exception if any.

Returns

IObservable<T>

The observable.

Type Parameters

T

The type of value.