Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IAPSecurityException.cs 784B

12345678910111213141516171819202122232425262728
  1. using System;
  2. namespace UnityEngine.Purchasing.Security
  3. {
  4. /// <summary>
  5. /// A base exception for IAP Security issues.
  6. /// </summary>
  7. public class IAPSecurityException : Exception
  8. {
  9. /// <summary>
  10. /// Constructs an instance with no message.
  11. /// </summary>
  12. public IAPSecurityException() { }
  13. /// <summary>
  14. /// Constructs an instance with a message.
  15. /// </summary>
  16. /// <param name="message"> The message that describes the error. </param>
  17. public IAPSecurityException(string message) : base(message)
  18. {
  19. }
  20. }
  21. /// <summary>
  22. /// An exception for an invalid IAP Security signature.
  23. /// </summary>
  24. public class InvalidSignatureException : IAPSecurityException { }
  25. }