Class NullReceiptException
An error was found when an unexpectedly null Product.receipt.receipt
is provided.
Implements
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class NullReceiptException : ReceiptParserException, ISerializable
Constructors
NullReceiptException()
Construct an error object for parsing a null receipt.
Declaration
public NullReceiptException()
NullReceiptException(SerializationInfo, StreamingContext)
Initializes a new instance of the NullReceiptException class with serialized data.
Declaration
protected NullReceiptException(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. |
NullReceiptException(string)
Construct an error object for parsing a null receipt.
Declaration
public NullReceiptException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Description of error |