/Rhino.Etl.Core/Exceptions/RhinoEtlException.cs

http://github.com/ayende/rhino-etl · C# · 35 lines · 18 code · 2 blank · 15 comment · 0 complexity · 0fe363dbb3e9e5c25e7500765398d3e7 MD5 · raw file

  1. namespace Rhino.Etl.Core
  2. {
  3. using System;
  4. using System.Runtime.Serialization;
  5. /// <summary>
  6. /// An exception that was caught during exceuting the code.
  7. /// </summary>
  8. [Serializable]
  9. public class RhinoEtlException : Exception
  10. {
  11. /// <summary>
  12. /// Initializes a new instance of the <see cref="RhinoEtlException"/> class.
  13. /// </summary>
  14. /// <param name="message">The message.</param>
  15. /// <param name="inner">The inner.</param>
  16. public RhinoEtlException(string message, Exception inner) : base(message, inner)
  17. {
  18. }
  19. /// <summary>
  20. /// Initializes a new instance of the <see cref="RhinoEtlException"/> class.
  21. /// </summary>
  22. /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  23. /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  24. /// <exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
  25. /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
  26. protected RhinoEtlException(
  27. SerializationInfo info,
  28. StreamingContext context)
  29. : base(info, context)
  30. {
  31. }
  32. }
  33. }