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

com.sportradar.livedata.sdk.common.exceptions.InvalidPropertyException Maven / Gradle / Ivy

Go to download

Livedata SDK is a client library that enables easier integration with the Livedata XML feed. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing and dispatching. It also makes a client solution more stable and robust when it comes to feed handling, especially with the release of new and updated XML feed versions.

There is a newer version: 2.0.10
Show newest version
package com.sportradar.livedata.sdk.common.exceptions;


import java.io.Serializable;

/**
 * Exception that is thrown when a invalid property in properties file is found
 */
public class InvalidPropertyException extends PropertyException implements Serializable {

    private static final long serialVersionUID = 5378913177873500837L;

    /**
     * Constructs a new instance of {@link InvalidPropertyException}
     *
     * @param error      Error description
     * @param property   Property name
     * @param inputValue Input value that caused error
     */
    public InvalidPropertyException(String error, String property, String inputValue) {
        super(property, String.format("%s Property name : %s Input value : %s", error, property, inputValue));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy