| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // System.Web.Compilation.CompilationException
- //
- // Authors:
- // Gonzalo Paniagua Javier ([email protected])
- //
- // (C) 2002,2003 Ximian, Inc (http://www.ximian.com)
- //
- using System;
- using System.CodeDom.Compiler;
- using System.Web;
- namespace System.Web.Compilation
- {
- internal class CompilationException : HtmlizedException
- {
- string filename;
- string errors;
- string file;
- public CompilationException (string filename, string errors, string file)
- {
- this.filename = filename;
- this.errors = errors;
- this.file = file;
- }
- public override string FileName {
- get { return filename; }
- }
-
- public override string Title {
- get { return "Compilation Error"; }
- }
- public override string Description {
- get {
- return "Error compiling a resource required to service this request. " +
- "Review your source file and modify it to fix this error.";
- }
- }
- public override string ErrorMessage {
- get { return errors; }
- }
- public string File {
- get { return file; }
- }
- }
- }
|