Clover.NET coverage report - Coverage

Coverage timestamp: Friday, May 20, 2005 9:17:00 PM

File Stats: LOC: 112   Methods: 5
NCLOC: 18 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Exceptions\ConfigurationException.cs - - 0.0 % 0.0 %
coverage
1  
2   #region Apache Notice
3   /*****************************************************************************
4   * $Header: $
5   * $Revision: $
6   * $Date: $
7   *
8   * iBATIS.NET Data Mapper
9   * Copyright (C) 2004 - Gilles Bayon
10   *
11   *
12   * Licensed under the Apache License, Version 2.0 (the "License");
13   * you may not use this file except in compliance with the License.
14   * You may obtain a copy of the License at
15   *
16   * http://www.apache.org/licenses/LICENSE-2.0
17   *
18   * Unless required by applicable law or agreed to in writing, software
19   * distributed under the License is distributed on an "AS IS" BASIS,
20   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21   * See the License for the specific language governing permissions and
22   * limitations under the License.
23   *
24   ********************************************************************************/
25   #endregion
26  
27   #region Using
28  
29   using System;
30   using System.Runtime.Serialization;
31   #endregion
32  
33  
34  
35   namespace IBatisNet.Common.Exceptions
36   {
37  
38   /// <summary>
39   /// A ConfigurationException is thrown when an error has occured in the configuration process.
40   /// </summary>
41   /// <remarks>
42   /// When this exception occurs check the .xml or .config file.
43   /// </remarks>
44   [Serializable]
45   public class ConfigurationException : IBatisNetException
46   {
47  
48   /// <summary>
49   /// Initializes a new instance of the <see cref="IBatisNet.Common.Exceptions.ConfigurationException"/> class.
50   /// </summary>
51   /// <remarks>
52   /// This constructor initializes the Message property of the new instance to a system-supplied message
53   /// that describes the error.
54   /// </remarks>
55 0 public ConfigurationException() :base ("Could not configure the iBatis.NET framework."){ }
56  
57   /// <summary>
58   /// Initializes a new instance of the <see cref="IBatisNet.Common.Exceptions.ConfigurationException"/>
59   /// class with a reference to the inner exception that is the cause of this exception.
60   /// </summary>
61   /// <remarks>
62   /// This constructor initializes the Message property of the new instance to the Message property
63   /// of the passed in exception.
64   /// </remarks>
65   /// <param name="ex">
66   /// The exception that is the cause of the current exception.
67   /// If the innerException parameter is not a null reference (Nothing in Visual Basic),
68   /// the current exception is raised in a catch block that handles the inner exception.
69   /// </param>
70 0 public ConfigurationException(Exception ex) : base (ex.Message,ex) {}
71  
72   /// <summary>
73   /// Initializes a new instance of the <see cref="IBatisNet.Common.Exceptions.ConfigurationException"/>
74   /// class with a specified error message.
75   /// </summary>
76   /// <remarks>
77   /// This constructor initializes the Message property of the new instance using
78   /// the message parameter.
79   /// </remarks>
80   /// <param name="message">The message that describes the error.</param>
81 0 public ConfigurationException( string message ) : base ( message ) { }
82  
83   /// <summary>
84   /// Initializes a new instance of the <see cref="IBatisNet.Common.Exceptions.ConfigurationException"/>
85   /// class with a specified error message and a reference to the inner exception that is the cause of this exception.
86   /// </summary>
87   /// <remarks>
88   /// An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property.
89   /// The InnerException property returns the same value that is passed into the constructor, or a null reference (Nothing in Visual Basic) if the InnerException property does not supply the inner exception value to the constructor.
90   /// </remarks>
91   /// <param name="message">The message that describes the error.</param>
92   /// <param name="inner">The exception that caused the error</param>
93 0 public ConfigurationException( string message, Exception inner ) : base ( message, inner ) { }
94  
95   /// <summary>
96   /// Initializes a new instance of the Exception class with serialized data.
97   /// </summary>
98   /// <remarks>
99   /// This constructor is called during deserialization to reconstitute the exception
100   /// object transmitted over a stream.
101   /// </remarks>
102   /// <param name="info">
103   /// The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.
104   /// </param>
105   /// <param name="context">
106   /// The <see cref="System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.
107   /// </param>
108 0 protected ConfigurationException(SerializationInfo info, StreamingContext context) : base (info, context) {}
109  
110   }
111   }
112