All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.implementation.changefeed.exceptions.ObserverException Maven / Gradle / Ivy

Go to download

This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API

There is a newer version: 4.60.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation.changefeed.exceptions;

/**
 * Exception occurred when an operation in a ChangeFeedObserver is running and throws by user code.
 */
public class ObserverException extends RuntimeException {
    private static final String DefaultMessage = "Exception has been thrown by the Observer.";

    /**
     * Initializes a new instance of the {@link ObserverException} class using the specified internal exception.
     *
     * @param originalException {@link Throwable} thrown by the user code.
     */
    public ObserverException(Throwable originalException) {
        super(DefaultMessage, originalException);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy