using System; namespace Team.Communicate.EventArg { public class ExceptionEventArgs: EventArgs where TException : Exception { private readonly TException _exception; public ExceptionEventArgs(TException exception) { _exception = exception; } public TException GetException() { return _exception; } } }