Class NullProductIdException
An error was found when an unexpectedly null Product.definition.id.definition.id
is provided.
Implements
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class NullProductIdException : ReceiptParserException, ISerializable
Constructors
NullProductIdException()
Construct an error object for receipt parsing a null product id.
Declaration
public NullProductIdException()
NullProductIdException(SerializationInfo, StreamingContext)
Initializes a new instance of the NullProductIdException class with serialized data.
Declaration
protected NullProductIdException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
NullProductIdException(string)
Construct an error object for receipt parsing a null product id.
Declaration
public NullProductIdException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Description of error |