/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THIS FILE AND ALL RELATED *
* FILES OR ANY PORTION OF ITS CONTENTS SHALL AT NO TIME BE *
* COPIED, TRANSFERRED, SOLD, DISTRIBUTED, OR OTHERWISE MADE *
* AVAILABLE TO OTHER INDIVIDUALS WITHOUT EXPRESS WRITTEN CONSENT *
* AND PERMISSION FROM FULCRUMWEB. CONSULT THE END USER LICENSE *
* AGREEMENT FOR INFORMATION ON ADDITIONAL RESTRICTIONS. *
********************************************************************/
using System;
namespace Framework.Utils
{
/// <summary>
/// Exception to use when some message should be shown as "brief message" message
/// and original cause as "details".
/// </summary>
public class ExIncapsulatedException : ExException
{
//----------------------------------------------------------------------------
/// <summary>
/// Constructor.
/// </summary>
/// <param name="message">message to show</param>
/// <param name="innerException">original exception</param>
public ExIncapsulatedException(string message, Exception innerException) :
base(message, innerException)
{
}
//----------------------------------------------------------------------------
/// <summary>
/// Constructor.
/// </summary>
/// <param name="message">message to show</param>
/// <param name="innerException">original exception</param>
public ExIncapsulatedException(Exception innerException) :
base(innerException.Message, innerException)
{
}
//----------------------------------------------------------------------------
}
}