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
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe 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
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.