Class FeedSdkException
- Namespace
- Sportradar.OddsFeed.SDK.Common.Exceptions
- Assembly
- Sportradar.OddsFeed.SDK.dll
A base class for all exceptions thrown by the feed SDK
[Serializable]
public abstract class FeedSdkException : Exception, ISerializable
- Inheritance
-
FeedSdkException
- Implements
- Derived
- Inherited Members
Constructors
FeedSdkException()
Initializes a new instance of the FeedSdkException class.
protected FeedSdkException()
FeedSdkException(SerializationInfo, StreamingContext)
Initializes a new instance of the FeedSdkException class.
protected FeedSdkException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
FeedSdkException(string)
Initializes a new instance of the FeedSdkException class with a specified error message.
protected FeedSdkException(string message)
Parameters
messagestringThe message that describes the error.
FeedSdkException(string, Exception)
Initializes a new instance of the FeedSdkException class.
protected FeedSdkException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.