~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Exceptions/InvalidReportModelException.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using System.Runtime.Serialization;
 
6
using System.Security.Permissions;
 
7
 
 
8
namespace ICSharpCode.Reports.Core
 
9
{
 
10
        /// <summary>
 
11
        /// Description of InvalidReportModelException.
 
12
        /// </summary>
 
13
        [Serializable()]
 
14
        public class InvalidReportModelException: Exception
 
15
        {
 
16
                
 
17
                public InvalidReportModelException():base(){
 
18
                        
 
19
                }
 
20
                public InvalidReportModelException(string errorMessage) :base (errorMessage){
 
21
                        
 
22
                }
 
23
                public InvalidReportModelException(string errorMessage,
 
24
                                             Exception exception):base (errorMessage,exception){
 
25
                        
 
26
                }
 
27
                
 
28
                protected InvalidReportModelException(SerializationInfo info,
 
29
                                                StreamingContext context) : base(info, context){
 
30
                        // Implement type-specific serialization constructor logic.
 
31
                }
 
32
                
 
33
                [SecurityPermissionAttribute(SecurityAction.Demand, 
 
34
          SerializationFormatter = true)]
 
35
 
 
36
                public override void GetObjectData(SerializationInfo info, StreamingContext context)
 
37
                {
 
38
                        base.GetObjectData(info, context);
 
39
                }
 
40
                
 
41
        }
 
42
}