public RutrackerException(string message, ExceptionEventTypes exceptionEventType, Exception innerException) : base(message, innerException) { ExceptionEventType = exceptionEventType; }
public RutrackerException(ExceptionEventTypes exceptionEventType) : this(null, exceptionEventType) { }
public RutrackerException(string message, ExceptionEventTypes exceptionEventType) : this(message, exceptionEventType, null) { }
private static void Null <T>(this IGuardClause guardClause, T input, string message, ExceptionEventTypes eventType) where T : class { if (input == null) { throw new RutrackerException(message, eventType); } }