< Summary

Class:MUNity.Exceptions.Resolution.UnsupportedAmendmentTypeException
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Exceptions\Resolution\UnsupportedAmendmentType.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:42
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:4
Method coverage:0% (0 of 4)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
.ctor()100%10%
.ctor(...)100%10%
.ctor(...)100%10%
.ctor(...)100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Exceptions\Resolution\UnsupportedAmendmentType.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace MUNity.Exceptions.Resolution
 6{
 7
 8    /// <summary>
 9    /// Throw this Exception when the given implementation of the AbstractAmendment is not capable to work with
 10    /// in a given case.
 11    /// </summary>
 12    [Serializable]
 13    public class UnsupportedAmendmentTypeException : Exception
 14    {
 15        /// <summary>
 16        /// Exception that the action cannot be performed with this type of amendment.
 17        /// </summary>
 018        public UnsupportedAmendmentTypeException() { }
 19
 20        /// <summary>
 21        /// Exception that the action cannot be performed with this type of amendment with some extra information.
 22        /// </summary>
 23        /// <param name="message"></param>
 024        public UnsupportedAmendmentTypeException(string message) : base(message) { }
 25
 26        /// <summary>
 27        /// Exception of something else went wrong and the inner Exception of what went wrong.
 28        /// </summary>
 29        /// <param name="message"></param>
 30        /// <param name="inner"></param>
 031        public UnsupportedAmendmentTypeException(string message, Exception inner) : base(message, inner) { }
 32
 33        /// <summary>
 34        /// General info.
 35        /// </summary>
 36        /// <param name="info"></param>
 37        /// <param name="context"></param>
 38        protected UnsupportedAmendmentTypeException(
 39          System.Runtime.Serialization.SerializationInfo info,
 040          System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
 41    }
 42}