⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 illegalfileformat.cs

📁 SharpDevelop2.0.0 c#开发免费工具
💻 CS
字号:
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------

using System;
using System.Runtime.Serialization;
	
	/// <summary>
	/// This exception is throw'n when something is wrong with the File Format
	/// </summary>
	/// <remarks>
	/// 	created by - Forstmeier Peter
	/// 	created on - 25.04.2005 14:29:20
	/// </remarks>
namespace SharpReportCore {	
	[Serializable()]
	public class IllegalFileFormatException : System.Exception {
		static string errMess = "<aus code> Could not read file , file corrupt (SharpReportFile is improperly formatted)";
		
		private string localisedMessage = String.Empty;
		
		public IllegalFileFormatException():base (errMess){
		}
		
		public IllegalFileFormatException(string errorMessage,
		                            Exception exception):base (errorMessage,exception){
			
		}
		public IllegalFileFormatException(string localisedMessage):base(localisedMessage)
		{
			this.localisedMessage = localisedMessage;
		}
		
		
		protected IllegalFileFormatException(SerializationInfo info, 
         StreamingContext context) : base(info, context){
         // Implement type-specific serialization constructor logic.
      	}

		
		public string LocalisedMessage {
			get {
				return localisedMessage;
			}
		}
		
		
		public string ErrorMessage {
			get {
				return errMess;
			}
		}
	}
}

⌨️ 快捷键说明

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