PageRenderTime 473ms CodeModel.GetById 141ms app.highlight 2ms RepoModel.GetById 179ms app.codeStats 0ms

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