using System;
using System.Runtime.Serialization;
namespace Abp
{
///
/// Base exception type for those are thrown by Abp system for Abp specific exceptions.
///
[Serializable]
public class AbpException : Exception
{
///
/// Creates a new object.
///
public AbpException()
{
}
///
/// Creates a new object.
///
public AbpException(SerializationInfo serializationInfo, StreamingContext context)
: base(serializationInfo, context)
{
}
///
/// Creates a new object.
///
/// Exception message
public AbpException(string message)
: base(message)
{
}
///
/// Creates a new object.
///
/// Exception message
/// Inner exception
public AbpException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}