using System;
using System.Runtime.Serialization;
namespace Persist.Config{
/// <summary>
/// This is the exception throwed when an exception occurs in configuration
/// </summary>
[Serializable]
public class ConfigurationException : Exception
{
/// <summary>
///
/// </summary>
public ConfigurationException():base(){}
/// <summary>
/// Simple constructor, base simply on a message
/// </summary>
/// <param name="message">the Exception message</param>
public ConfigurationException(string message):base(message){}
/// <summary>
/// Constructor with a message and an Inner Exception
/// </summary>
/// <param name="message">the Exception message</param>
/// <param name="inner">the Inner Exception</param>
public ConfigurationException(string message,Exception inner):base(message,inner){}
/// <summary>
///
/// </summary>
/// <param name="info"></param>
/// <param name="context"></param>
protected ConfigurationException(SerializationInfo info, StreamingContext context):base(info,context){}
}
}
|