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/09/18 05:44] – stephen | exception_template [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
<code c#> | <code c#> | ||
[Serializable] | [Serializable] | ||
- | public class NewException : ApplicationException | + | public class NewException : Exception |
{ | { | ||
public NewException () | public NewException () | ||
Line 17: | 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.1253252674.txt.gz · Last modified: 2017/01/01 19:49 (external edit)