Inheritance: System.SystemException
コード例 #1
0
 void AddErrorResult(XPathException ex)
 {
     ListViewItem item = new ListViewItem(string.Concat(StringParser.Parse("${res:ICSharpCode.XmlEditor.XPathQueryPad.XPathLabel}"), " ", ex.Message), ErrorImageIndex);
     item.Tag = ex;
     xPathResultsListView.Items.Add(item);
 }
コード例 #2
0
ファイル: XPathExceptionCas.cs プロジェクト: nobled/mono
		public void DenyUnrestricted ()
		{
			// can we call everything without a SecurityException ?
			XPathException xe = new XPathException (String.Empty, null);
			Assert.IsNotNull (xe.Message, "Message");
		}
コード例 #3
0
 void IPscxErrorHandler.WriteXPathExpressionError(string xpathExpression, XPathException ex)
 {
     ThrowTerminatingError(new ErrorRecord(ex, "InvalidXPathExpression", ErrorCategory.InvalidArgument, xpathExpression));
 }
コード例 #4
0
ファイル: XPathExceptionCas.cs プロジェクト: nobled/mono
		public void PermitOnlySerializationFormatter_GetObjectData ()
		{
			StreamingContext sc = new StreamingContext (StreamingContextStates.All);
			XPathException xe = new XPathException (String.Empty, null);
			xe.GetObjectData (null, sc);
		}