|
Revision 1, 1.3 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 AprNullReferenceException : AprException |
|---|
| 20 |
{ |
|---|
| 21 |
const int Result = unchecked ((int)0xA0654003); |
|---|
| 22 |
|
|---|
| 23 |
public AprNullReferenceException() |
|---|
| 24 |
: base ( "An null or uninitialized instance was found where a valid instance is expected." ) |
|---|
| 25 |
{ |
|---|
| 26 |
HResult = Result; |
|---|
| 27 |
} |
|---|
| 28 |
|
|---|
| 29 |
public AprNullReferenceException(string s) |
|---|
| 30 |
: base ( s ) |
|---|
| 31 |
{ |
|---|
| 32 |
HResult = Result; |
|---|
| 33 |
} |
|---|
| 34 |
|
|---|
| 35 |
public AprNullReferenceException(string s, Exception innerException) |
|---|
| 36 |
: base ( s, innerException ) |
|---|
| 37 |
{ |
|---|
| 38 |
HResult = Result; |
|---|
| 39 |
} |
|---|
| 40 |
|
|---|
| 41 |
public AprNullReferenceException(int apr_status) |
|---|
| 42 |
: base ( apr_status ) |
|---|
| 43 |
{ |
|---|
| 44 |
} |
|---|
| 45 |
|
|---|
| 46 |
public AprNullReferenceException(int apr_status, Exception innerException) |
|---|
| 47 |
: base ( apr_status, innerException ) |
|---|
| 48 |
{ |
|---|
| 49 |
} |
|---|
| 50 |
|
|---|
| 51 |
public AprNullReferenceException(SerializationInfo info, StreamingContext context) |
|---|
| 52 |
: base (info, context) |
|---|
| 53 |
{ |
|---|
| 54 |
} |
|---|
| 55 |
} |
|---|
| 56 |
} |
|---|