Table of Contents

Class ObjectNotFoundException

Namespace
Sportradar.OddsFeed.SDK.Common.Exceptions
Assembly
Sportradar.OddsFeed.SDK.dll

An exception thrown when the requested object is not found

[Serializable]
public class ObjectNotFoundException : FeedSdkException, ISerializable
Inheritance
ObjectNotFoundException
Implements
Inherited Members

Constructors

ObjectNotFoundException()

Initializes a new instance of the ObjectNotFoundException class.

public ObjectNotFoundException()

ObjectNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ObjectNotFoundException class.

public ObjectNotFoundException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

ObjectNotFoundException(string, Exception)

Initializes a new instance of the ObjectNotFoundException class.

public ObjectNotFoundException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

See Also