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

com.sportradar.unifiedodds.sdk.ExceptionHandlingStrategy Maven / Gradle / Ivy

/*
 * Copyright (C) Sportradar AG. See LICENSE for full license governing this code
 */

package com.sportradar.unifiedodds.sdk;

/**
 * An indication on how should be exceptions handled on the public API
 */
public enum ExceptionHandlingStrategy {
    /**
     * If an exception occurs, rethrow the exception
     */
    Throw,

    /**
     * If an exception occurs, catch the exception and return a "null" value
     */
    Catch
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy