exception_template
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exception_template [2009/03/16 09:26] – external edit 127.0.0.1 | exception_template [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code c#> | <code c#> | ||
| - | public class NewException : ApplicationException | + | [Serializable] |
| + | public class NewException : Exception | ||
| { | { | ||
| public NewException () | public NewException () | ||
| Line 16: | Line 17: | ||
| public NewException (string message, Exception innerException) | public NewException (string message, Exception innerException) | ||
| : base(message, | : base(message, | ||
| + | { | ||
| + | } | ||
| + | |||
| + | protected NewException (SerializationInfo info, StreamingContext context) | ||
| + | : base(info, context) | ||
| { | { | ||
| } | } | ||
exception_template.1237195592.txt.gz · Last modified: 2017/01/01 19:49 (external edit)
