//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace GUnit.Core.Exceptions
{
using GUnit.Core.Invokers;
using System;
using System.Runtime.Serialization;
using System.Collections;
/// <summary>
/// TODO - Add class summary
/// </summary>
/// <remarks>
/// created by - dehalleux
/// created on - 29/01/2004 19:40:10
/// </remarks>
public class MethodDurationException : ExecuteException
{
private double minDuration;
private double maxDuration;
private double actualDuration;
public MethodDurationException(
double minDuration,
double maxDuration,
double actualDuration,
IRunInvoker invoker,
Object tested,
IList args
)
:base(invoker,tested,args)
{
this.minDuration = minDuration;
this.maxDuration = maxDuration;
this.actualDuration = actualDuration;
}
public MethodDurationException(
double minDuration,
double maxDuration,
double actualDuration,
IRunInvoker invoker,
Object tested,
IList args,
string message
)
:base(invoker,tested,args,message)
{
this.minDuration = minDuration;
this.maxDuration = maxDuration;
this.actualDuration = actualDuration;
}
protected MethodDurationException(
double minDuration,
double maxDuration,
double actualDuration,
IRunInvoker invoker,
Object tested,
IList args,
SerializationInfo info, StreamingContext context)
:base(invoker,tested,args,info,context)
{
this.minDuration = minDuration;
this.maxDuration = maxDuration;
this.actualDuration = actualDuration;
}
public MethodDurationException(
double minDuration,
double maxDuration,
double actualDuration,
IRunInvoker invoker,
Object tested,
IList args,
string message,
Exception innerException
)
:base(invoker,tested,args,message,innerException)
{
this.minDuration = minDuration;
this.maxDuration = maxDuration;
this.actualDuration = actualDuration;
}
}
}