// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// The Encode Failure Exception
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Exceptions
{
using System;
///
/// The Encode Failure Exception
///
public class GeneralApplicationException : Exception
{
///
/// Initializes a new instance of the class.
///
///
/// The error.
///
///
/// The solution.
///
///
/// The inner Exception.
///
public GeneralApplicationException(string error, string solution, Exception innerException)
{
this.Error = error;
this.Solution = solution;
this.ActualException = innerException;
}
///
/// Gets or sets FailureReason.
///
public string Error { get; set; }
///
/// Gets or sets Solution.
///
public string Solution { get; set; }
///
/// Gets or sets InnerException.
///
public Exception ActualException { get; set; }
}
}