com.azure.cosmos.implementation.changefeed.exceptions.ObserverException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos Show documentation
Show all versions of azure-cosmos Show documentation
This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API
// 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);
}
}