Datei: NDO.Mapping/NDO.Mapping/MappingException.cs
Last Commit (bbf1d57)
| 1 | // |
| 2 | // Copyright (c) 2002-2024 Mirko Matytschak |
| 3 | // (www.netdataobjects.de) |
| 4 | // |
| 5 | // Author: Mirko Matytschak |
| 6 | // |
| 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated |
| 8 | // documentation files (the "Software"), to deal in the Software without restriction, including without limitation |
| 9 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the |
| 10 | // Software, and to permit persons to whom the Software is furnished to do so, subject to the following |
| 11 | // conditions: |
| 12 | |
| 13 | // The above copyright notice and this permission notice shall be included in all copies or substantial portions |
| 14 | // of the Software. |
| 15 | // |
| 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED |
| 17 | // TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
| 19 | // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 20 | // DEALINGS IN THE SOFTWARE. |
| 21 | |
| 22 | |
| 23 | using System; |
| 24 | |
| 25 | namespace NDO.Mapping |
| 26 | { |
| 27 | ····/// <summary> |
| 28 | ····/// Exception for sever state errors in NDO. If such an error occurs, please send |
| 29 | ····/// a bug report to us. |
| 30 | ····/// </summary> |
| 31 | ····public class MappingException : Exception |
| 32 | ····{ |
| 33 | ········/// <summary> |
| 34 | ········/// Denotes internal errors |
| 35 | ········/// </summary> |
| 36 | ········/// <param name="val"></param> |
| 37 | ········/// <param name="message"></param> |
| 38 | ········public MappingException( int val, string message ) : base( "Mapping error #" + val + ": " + message ) |
| 39 | ········{ |
| 40 | ········} |
| 41 | ····} |
| 42 | } |
| 43 |
New Commit (4a40b5b)
| 1 | // |
| 2 | // Copyright (c) 2002-2024 Mirko Matytschak |
| 3 | // (www.netdataobjects.de) |
| 4 | // |
| 5 | // Author: Mirko Matytschak |
| 6 | // |
| 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated |
| 8 | // documentation files (the "Software"), to deal in the Software without restriction, including without limitation |
| 9 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the |
| 10 | // Software, and to permit persons to whom the Software is furnished to do so, subject to the following |
| 11 | // conditions: |
| 12 | |
| 13 | // The above copyright notice and this permission notice shall be included in all copies or substantial portions |
| 14 | // of the Software. |
| 15 | // |
| 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED |
| 17 | // TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
| 19 | // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 20 | // DEALINGS IN THE SOFTWARE. |
| 21 | |
| 22 | |
| 23 | using System; |
| 24 | |
| 25 | namespace NDO.Mapping |
| 26 | { |
| 27 | ····/// <summary> |
| 28 | ····/// Exception for sever state errors in NDO. If such an error occurs, please send |
| 29 | ····/// a bug report to us. |
| 30 | ····/// </summary> |
| 31 | ····public class MappingException : Exception |
| 32 | ····{ |
| 33 | ········/// <summary> |
| 34 | ········/// Denotes internal errors |
| 35 | ········/// </summary> |
| 36 | ········/// <param name="val"></param> |
| 37 | ········/// <param name="message"></param> |
| 38 | ········public MappingException( int val, string message ) : base( "Mapping error #" + val + ": " + message ) |
| 39 | ········{ |
| 40 | ········} |
| 41 | |
| 42 | ········/// <summary> |
| 43 | ········/// Denotes internal errors |
| 44 | ········/// </summary> |
| 45 | ········/// <param name="val"></param> |
| 46 | ········/// <param name="message"></param> |
| 47 | ········/// <param name="innerException"></param> |
| 48 | ········public MappingException( int val, string message, Exception innerException ) : base( "Mapping error #" + val + ": " + message, innerException ) |
| 49 | ········{ |
| 50 | ········} |
| 51 | |
| 52 | ····} |
| 53 | } |
| 54 |