sharpreportwrongitemexception.cs

来自「c#源代码」· CS 代码 · 共 47 行

CS
47
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

namespace SharpReportCore {
	using System;
	
	
	/// <summary>
	/// This Exception is throwen 
	/// </summary>
	/// <remarks>
	/// 	created by - Forstmeier Peter
	/// 	created on - 28.09.2005 14:00:34
	/// </remarks>
	public class SharpReportUnkownItemException : System.Exception {
		string errorMessage = String.Empty;
		
		public SharpReportUnkownItemException():base() {
			this.errorMessage = "Unkown ReportItemType";
		}
		
		public SharpReportUnkownItemException(string errorMessage):base(errorMessage)
		{
			this.errorMessage = errorMessage;
		}
		
		public SharpReportUnkownItemException(string errorMessage,
		                            Exception exception):base (errorMessage,exception){
			
		}
		
		public string ErrorMessage {
			get {
				return errorMessage;
			}
		}
		
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?