Clover.NET coverage report - Coverage for s2container.net

Coverage timestamp: 2006年5月30日 11:21:29

File Stats: LOC: 69   Methods: 5
NCLOC: 42 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Seasar.Framework.Container\IllegalMethodRuntimeException.cs - 0.0% 0.0% 0.0%
coverage
1   #region Copyright
2   /*
3   * Copyright 2005 the Seasar Foundation and the Others.
4   *
5   * Licensed under the Apache License, Version 2.0 (the "License");
6   * you may not use this file except in compliance with the License.
7   * You may obtain a copy of the License at
8   *
9   * http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14   * either express or implied. See the License for the specific language
15   * governing permissions and limitations under the License.
16   */
17   #endregion
18  
19   using System;
20   using System.Runtime.Serialization;
21   using Seasar.Framework.Exceptions;
22  
23   namespace Seasar.Framework.Container
24   {
25   /// <summary>
26   /// IllegalMethodRuntimeException の概要の説明です。
27   /// </summary>
28   [Serializable]
29   public class IllegalMethodRuntimeException : SRuntimeException
30   {
31   private Type componentType_;
32   private string methodName_;
33  
34 0 public IllegalMethodRuntimeException(
35   Type componentType,string methodName,Exception cause)
36   : base("ESSR0060", new object[] { componentType.FullName, methodName, cause }, cause)
37   {
38   componentType_ = componentType;
39   methodName_ = methodName;
40   }
41  
42 0 public IllegalMethodRuntimeException(SerializationInfo info, StreamingContext context)
43   : base( info, context )
44   {
45   this.componentType_ = info.GetValue("componentType_", typeof(Type)) as Type;
46   this.methodName_ = info.GetString("methodName_");
47   }
48  
49 0 public override void GetObjectData( SerializationInfo info,
50   StreamingContext context )
51   {
52   info.AddValue("componentType_", this.componentType_, typeof(Type));
53   info.AddValue("methodName_", this.methodName_, typeof(String));
54  
55   base.GetObjectData(info, context);
56   }
57  
58 0 public Type ComponentType
59   {
60   get { return componentType_; }
61   }
62  
63 0 public string MethodName
64   {
65   get { return methodName_; }
66   }
67   }
68   }
69