Example #1
0
 public RutrackerException(string message, ExceptionEventTypes exceptionEventType, Exception innerException)
     : base(message, innerException)
 {
     ExceptionEventType = exceptionEventType;
 }
Example #2
0
 public RutrackerException(ExceptionEventTypes exceptionEventType)
     : this(null, exceptionEventType)
 {
 }
Example #3
0
 public RutrackerException(string message, ExceptionEventTypes exceptionEventType)
     : this(message, exceptionEventType, null)
 {
 }
Example #4
0
 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);
     }
 }