FileNotFoundException.cs 791 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // System.IO.FileNotFoundException.cs
  3. //
  4. // Author:
  5. // Paolo Molaro ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc. http://www.ximian.com
  8. //
  9. namespace System.IO {
  10. public class FileNotFoundException : SystemException {
  11. private string _fileName;
  12. // Constructors
  13. public FileNotFoundException ()
  14. : base ("File not found")
  15. {
  16. }
  17. public FileNotFoundException (string message)
  18. : base (message)
  19. {
  20. }
  21. public FileNotFoundException (string message, Exception inner)
  22. : base (message, inner)
  23. {
  24. }
  25. public FileNotFoundException (string message, string fileName)
  26. : base (message)
  27. {
  28. _fileName = fileName;
  29. }
  30. public string FileName {
  31. get {
  32. return _fileName;
  33. }
  34. }
  35. public string FusionLog {
  36. get {
  37. // FIXME
  38. return null;
  39. }
  40. }
  41. }
  42. }