package errors {
    
	public class WarningError extends ApplicationError {
	    
		public function WarningError(errorID:int) 
		{
		    id = errorID;
			severity = ApplicationError.WARNING
			message = super.getMessageText(errorID);
		}
		
		public override function getTitle():String {
			return "错误号 #" + id + " -- Warning"
		}
		
		public override function toString():String {
			return "[警告　错误 #" + id + "] " + message;
		}

	}
}
