public void AddErrorTransition(ErrorTransition transition, Exception exception) { this.ErrorTransitions.Add(exception.GetType(), transition); }