HttpCompileException.cs 786 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // System.Web.HttpCompileException.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.CodeDom.Compiler;
  10. namespace System.Web {
  11. public sealed class HttpCompileException : HttpException {
  12. #region Fields
  13. CompilerResults results;
  14. string sourceCode;
  15. #endregion // Fields
  16. #region Constructors
  17. internal HttpCompileException (CompilerResults results, string sourceCode)
  18. : base ()
  19. {
  20. this.results = results;
  21. this.sourceCode = sourceCode;
  22. }
  23. #endregion // Constructors
  24. #region Properties
  25. public CompilerResults Results {
  26. get { return results; }
  27. }
  28. public string SourceCode {
  29. get { return sourceCode; }
  30. }
  31. #endregion // Properties
  32. }
  33. }