Class NameExpressionException
- Namespace
- Sportradar.OddsFeed.SDK.Common.Exceptions
- Assembly
- Sportradar.OddsFeed.SDK.dll
An exception thrown by name expressions when the name cannot be build
[Serializable]
public class NameExpressionException : FeedSdkException, ISerializable
- Inheritance
-
NameExpressionException
- Implements
- Inherited Members
Constructors
NameExpressionException()
Initializes a new instance of the NameExpressionException class.
public NameExpressionException()
NameExpressionException(SerializationInfo, StreamingContext)
Initializes a new instance of the NameExpressionException class.
public NameExpressionException(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.
NameExpressionException(string, Exception)
Initializes a new instance of the NameExpressionException class.
public NameExpressionException(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.