using System; namespace Deltares.DamMacroStability.Calculator { /// /// Exception class for stability calculation /// /// public class StabilityCalculatorException : Exception { /// /// Initializes a new instance of the class. /// public StabilityCalculatorException() : this("There was an error") { } /// /// Initializes a new instance of the class. /// /// The message that describes the error. public StabilityCalculatorException(string message) : base(message) { } /// /// Initializes a new instance of the class. /// /// The message. /// The inner. public StabilityCalculatorException(string message, Exception inner) : base(message, inner) { } /// /// Initializes a new instance of the class. /// /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. protected StabilityCalculatorException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } }