TemplateException Class
Represents errors that occur during template processing, compilation, or execution.
public class TemplateException : Exception- Inheritance
ExceptionTemplateException
Constructors
| Name | Description |
|---|---|
| TemplateException() | Initializes a new instance of the TemplateException class. |
| TemplateException(string) | Initializes a new instance of the TemplateException class with a specified error message. |
| TemplateException(string, Exception) | Initializes a new instance of the TemplateException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
TemplateException overloads
TemplateException()
TemplateException.csInitializes a new instance of the TemplateException class.
public TemplateException()TemplateException(string)
TemplateException.csInitializes a new instance of the TemplateException class with a specified error message.
public TemplateException(string message)Parameters
messagestring- The message that describes the error.
TemplateException(string, Exception)
TemplateException.csInitializes a new instance of the TemplateException class with a specified error message and a reference to the inner exception that is the cause of this exception.