HttpParseException.cs 817 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // System.Web.HttpParseException.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. namespace System.Web {
  10. public sealed class HttpParseException : HttpException {
  11. #region Fields
  12. string fileName;
  13. int line;
  14. #endregion // Fields
  15. #region Constructors
  16. [MonoTODO ("Figure out what to do with this.")]
  17. internal HttpParseException (string message, Exception innerException, string sourceCode, string fileName, int line)
  18. : base (message, innerException)
  19. {
  20. this.fileName = fileName;
  21. this.line = line;
  22. }
  23. #endregion // Constructors
  24. #region Properties
  25. public string FileName {
  26. get { return fileName; }
  27. }
  28. public int Line {
  29. get { return line; }
  30. }
  31. #endregion // Properties
  32. }
  33. }