|
4 | 4 | namespace ICSharpCode.SharpZipLib.BZip2 |
5 | 5 | { |
6 | 6 | /// <summary> |
7 | | - /// BZip2Exception represents exceptions specific to Bzip2 algorithm |
| 7 | + /// BZip2Exception represents exceptions specific to BZip2 classes and code. |
8 | 8 | /// </summary> |
9 | 9 | [Serializable] |
10 | 10 | public class BZip2Exception : SharpZipBaseException |
11 | 11 | { |
12 | | - |
13 | 12 | /// <summary> |
14 | 13 | /// Deserialization constructor |
15 | 14 | /// </summary> |
16 | 15 | /// <param name="info"><see cref="SerializationInfo"/> for this constructor</param> |
17 | 16 | /// <param name="context"><see cref="StreamingContext"/> for this constructor</param> |
18 | 17 | protected BZip2Exception(SerializationInfo info, StreamingContext context) |
19 | 18 | : base(info, context) |
20 | | - |
21 | 19 | { |
22 | 20 | } |
| 21 | + |
23 | 22 | /// <summary> |
24 | | - /// Initialise a new instance of BZip2Exception. |
| 23 | + /// Initialise a new instance of <see cref="BZip2Exception" />. |
25 | 24 | /// </summary> |
26 | 25 | public BZip2Exception() |
27 | 26 | { |
28 | 27 | } |
29 | 28 |
|
30 | 29 | /// <summary> |
31 | | - /// Initialise a new instance of BZip2Exception with its message set to message. |
| 30 | + /// Initialise a new instance of <see cref="BZip2Exception" /> with its message string. |
32 | 31 | /// </summary> |
33 | | - /// <param name="message">The message describing the error.</param> |
34 | | - public BZip2Exception(string message) : base(message) |
| 32 | + /// <param name="message">A <see cref="string"/> that describes the error.</param> |
| 33 | + public BZip2Exception(string message) |
| 34 | + : base(message) |
35 | 35 | { |
36 | 36 | } |
37 | 37 |
|
38 | 38 | /// <summary> |
39 | | - /// Initialise an instance of BZip2Exception |
| 39 | + /// Initialise a new instance of <see cref="BZip2Exception" />. |
40 | 40 | /// </summary> |
41 | | - /// <param name="message">A message describing the error.</param> |
42 | | - /// <param name="exception">The exception that is the cause of the current exception.</param> |
43 | | - public BZip2Exception(string message, Exception exception) |
44 | | - : base(message, exception) |
| 41 | + /// <param name="message">A <see cref="string"/> that describes the error.</param> |
| 42 | + /// <param name="innerException">The <see cref="Exception"/> that caused this exception.</param> |
| 43 | + public BZip2Exception(string message, Exception innerException) |
| 44 | + : base(message, innerException) |
45 | 45 | { |
46 | 46 | } |
47 | 47 | } |
|
0 commit comments