Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

32 linhas
828 B

  1. using System;
  2. namespace RenderHookAPI
  3. {
  4. /// <summary>
  5. /// Indicates that the provided process does not have a window handle.
  6. /// </summary>
  7. public class ProcessHasNoWindowHandleException : Exception
  8. {
  9. public ProcessHasNoWindowHandleException()
  10. : base("The process does not have a window handle.")
  11. {
  12. }
  13. }
  14. public class ProcessAlreadyHookedException : Exception
  15. {
  16. public ProcessAlreadyHookedException()
  17. : base("The process is already hooked.")
  18. {
  19. }
  20. }
  21. public class InjectionFailedException : Exception
  22. {
  23. public InjectionFailedException(Exception innerException)
  24. : base("Injection to the target process failed. See InnerException for more detail.", innerException)
  25. {
  26. }
  27. }
  28. }