| |||||||||||||||||
| Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
| Model\ModelException.cs | - | - | 50,0 % | 50,0 % |
|
||||||||||||
| 1 | using System; | |
| 2 | ||
| 3 | namespace ShowX.Model | |
| 4 | { | |
| 5 | /// <summary> | |
| 6 | /// ModelException represent exceptions produced on showx model layer. | |
| 7 | /// process. | |
| 8 | /// </summary> | |
| 9 | public class ModelException : Exception | |
| 10 | { | |
| 11 | /// <summary> | |
| 12 | /// Constructor. Builds exception with an error message and an inner exception. | |
| 13 | /// </summary> | |
| 14 | /// <param name="msg">Exception message.</param> | |
| 15 | /// <param name="inner">Inner exception.</param> | |
| 16 | 0 | public ModelException(string msg, Exception inner) |
| 17 | : base(msg,inner) {} | |
| 18 | ||
| 19 | /// <summary> | |
| 20 | /// Constructor. Builds exception with an error message. | |
| 21 | /// </summary> | |
| 22 | /// <param name="msg">Exception message.</param> | |
| 23 | 8 | public ModelException(string msg) : base(msg) {} |
| 24 | } | |
| 25 | } | |
| 26 |
|
||||||||