/Rhino.Etl.Core/Exceptions/ParameterCountException.cs

http://github.com/ayende/rhino-etl · C# · 48 lines · 22 code · 3 blank · 23 comment · 0 complexity · 4a2e6b5bba7f38a66fed115e9da7eb7d MD5 · raw file

  1. namespace Rhino.Etl.Core.Exceptions
  2. {
  3. /// <summary>
  4. /// Thrown when an access to a quacking dictionary is made with more than a single
  5. /// parameter
  6. /// </summary>
  7. [global::System.Serializable]
  8. public class ParameterCountException : System.Exception
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
  12. /// </summary>
  13. public ParameterCountException()
  14. {
  15. }
  16. /// <summary>
  17. /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
  18. /// </summary>
  19. /// <param name="message">The message.</param>
  20. public ParameterCountException(string message) : base(message)
  21. {
  22. }
  23. /// <summary>
  24. /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
  25. /// </summary>
  26. /// <param name="message">The message.</param>
  27. /// <param name="inner">The inner.</param>
  28. public ParameterCountException(string message, System.Exception inner) : base(message, inner)
  29. {
  30. }
  31. /// <summary>
  32. /// Initializes a new instance of the <see cref="ParameterCountException"/> class.
  33. /// </summary>
  34. /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  35. /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  36. /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
  37. /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
  38. protected ParameterCountException(
  39. System.Runtime.Serialization.SerializationInfo info,
  40. System.Runtime.Serialization.StreamingContext context)
  41. : base(info, context)
  42. {
  43. }
  44. }
  45. }