illegalfileformat.cs

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

CS
50
字号
//------------------------------------------------------------------------------
// <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;
	
	/// <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 {	
	
	public class IllegalFileFormatException : System.ApplicationException {
		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 localisedMessage):base(localisedMessage)
		{
			this.localisedMessage = localisedMessage;
		}
		
		public string LocalisedMessage {
			get {
				return localisedMessage;
			}
		}
		
		
		public string ErrorMessage {
			get {
				return errMess;
			}
		}
	}
}

⌨️ 快捷键说明

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