using System;
using System.Collections.Generic;
using System.Text;
namespace Maestro.Shared.UI
{
///
/// Thrown when a lengthy operation is cancelled.
///
[global::System.Serializable]
public class CancelException : Exception
{
//
// For guidelines regarding the creation of new exception types, see
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
// and
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
//
///
/// Initializes a new instance of the class.
///
public CancelException() { }
///
/// Initializes a new instance of the class.
///
/// The message.
public CancelException(string message) : base(message) { }
///
/// Initializes a new instance of the class.
///
/// The message.
/// The inner.
public CancelException(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.
///
/// The parameter is null.
///
///
/// The class name is null or is zero (0).
///
protected CancelException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
: base(info, context) { }
}
}