|
Revision 1, 1.2 kB
(checked in by DenisG, 3 years ago)
|
Initial import
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
// |
|---|
| 2 |
// Softec |
|---|
| 3 |
// |
|---|
| 4 |
// Contact: |
|---|
| 5 |
// |
|---|
| 6 |
// Designed by Denis Gervalle and Olivier Desaive |
|---|
| 7 |
// Written by Denis Gervalle |
|---|
| 8 |
// |
|---|
| 9 |
// Copyright 2004 by SOFTEC. All rights reserved. |
|---|
| 10 |
// |
|---|
| 11 |
|
|---|
| 12 |
using System; |
|---|
| 13 |
using System.Runtime.Serialization; |
|---|
| 14 |
using Softec; |
|---|
| 15 |
|
|---|
| 16 |
namespace Softec.AprSharp |
|---|
| 17 |
{ |
|---|
| 18 |
[Serializable] |
|---|
| 19 |
public class AprArgumentNullException : AprArgumentException |
|---|
| 20 |
{ |
|---|
| 21 |
const int Result = unchecked ((int)0xA0654003); |
|---|
| 22 |
|
|---|
| 23 |
private string mParamName; |
|---|
| 24 |
|
|---|
| 25 |
public AprArgumentNullException() |
|---|
| 26 |
: base ("Argument cannot be null.") |
|---|
| 27 |
{ |
|---|
| 28 |
HResult = Result; |
|---|
| 29 |
} |
|---|
| 30 |
|
|---|
| 31 |
public AprArgumentNullException(string paramName) |
|---|
| 32 |
: base ("Argument cannot be null.", paramName) |
|---|
| 33 |
{ |
|---|
| 34 |
HResult = Result; |
|---|
| 35 |
} |
|---|
| 36 |
|
|---|
| 37 |
public AprArgumentNullException(string paramName, string message) |
|---|
| 38 |
: base ( message, paramName ) |
|---|
| 39 |
{ |
|---|
| 40 |
HResult = Result; |
|---|
| 41 |
} |
|---|
| 42 |
|
|---|
| 43 |
public AprArgumentNullException(string paramName, int apr_status) |
|---|
| 44 |
: base ( apr_status, paramName ) |
|---|
| 45 |
{ |
|---|
| 46 |
} |
|---|
| 47 |
|
|---|
| 48 |
public AprArgumentNullException(SerializationInfo info, StreamingContext context) |
|---|
| 49 |
: base (info, context) |
|---|
| 50 |
{ |
|---|
| 51 |
} |
|---|
| 52 |
} |
|---|
| 53 |
} |
|---|