| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using System.Runtime.Serialization;
|
|---|
| 3 |
|
|---|
| 4 | namespace IndianHealthService.BMXNet
|
|---|
| 5 | {
|
|---|
| 6 | /// <summary>
|
|---|
| 7 | /// This simple exception wrapper is used for Exceptions thrown by umknown sources and
|
|---|
| 8 | /// by the BMX library. Check the InnerException for details.
|
|---|
| 9 | /// </summary>
|
|---|
| 10 | [Serializable]
|
|---|
| 11 | public class BMXNetException : System.ApplicationException
|
|---|
| 12 | {
|
|---|
| 13 | public BMXNetException()
|
|---|
| 14 | {
|
|---|
| 15 |
|
|---|
| 16 | }
|
|---|
| 17 | public BMXNetException(string message) : base(message)
|
|---|
| 18 | {
|
|---|
| 19 |
|
|---|
| 20 | }
|
|---|
| 21 | public BMXNetException(string message, Exception inner) : base(message, inner)
|
|---|
| 22 | {
|
|---|
| 23 |
|
|---|
| 24 | }
|
|---|
| 25 | // deserialization constructor
|
|---|
| 26 | public BMXNetException(SerializationInfo info,
|
|---|
| 27 | StreamingContext context):
|
|---|
| 28 | base(info, context)
|
|---|
| 29 | {
|
|---|
| 30 |
|
|---|
| 31 | }
|
|---|
| 32 |
|
|---|
| 33 | }
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.