2 types derived from XsltException
System.Private.Xml (2)
System\Xml\Xsl\XslException.cs (1)
14internal class XslTransformException : XsltException
System\Xml\Xslt\XsltException.cs (1)
155public class XsltCompileException : XsltException
3 instantiations of XsltException
System.Private.Xml (3)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
1174throw new XsltException(SR.Xslt_InvalidXPath, new string[] { Expression }, _baseUri, _lineNumber, _linePosition, null);
System\Xml\Xslt\XsltException.cs (2)
83return new XsltException(res, args, null, 0, 0, null); 88return new XsltException(res, args, null, 0, 0, inner);
107 references to XsltException
netstandard (1)
netstandard.cs (1)
2532[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Xsl.XsltException))]
System.Private.Xml (104)
System\Xml\Xsl\QIL\QilVisitor.cs (1)
453throw XsltException.Create(SR.Xslt_InputTooComplex);
System\Xml\Xsl\Runtime\DecimalFormatter.cs (7)
46throw XsltException.Create(SR.Xslt_InvalidFormat); 74throw XsltException.Create(SR.Xslt_InvalidFormat1, formatPicture); 85throw XsltException.Create(SR.Xslt_InvalidFormat2, formatPicture); 96throw XsltException.Create(SR.Xslt_InvalidFormat8); 100throw XsltException.Create(SR.Xslt_InvalidFormat3, formatPicture); 137throw XsltException.Create(SR.Xslt_InvalidFormat5, formatPicture); 191throw XsltException.Create(SR.Xslt_InvalidFormat8);
System\Xml\Xsl\XsltOld\ApplyImportsAction.cs (1)
21throw XsltException.Create(SR.Xslt_ApplyImports);
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (1)
122throw XsltException.Create(SR.Xslt_InvalidContents, "apply-templates");
System\Xml\Xsl\XsltOld\AttributeAction.cs (2)
31throw XsltException.Create(SR.Xslt_ReservedNS, nsUri); 57throw XsltException.Create(SR.Xslt_InvalidPrefix, qname.Prefix);
System\Xml\Xsl\XsltOld\AttributeSetAction.cs (1)
86throw XsltException.Create(SR.Xslt_InvalidContents, "attribute-set");
System\Xml\Xsl\XsltOld\CallTemplateAction.cs (2)
74throw XsltException.Create(SR.Xslt_InvalidContents, "call-template"); 106throw XsltException.Create(SR.Xslt_InvalidCallTemplate, _name!.ToString());
System\Xml\Xsl\XsltOld\ChooseAction.cs (4)
46throw XsltException.Create(SR.Xslt_WhenAfterOtherwise); 55throw XsltException.Create(SR.Xslt_DupOtherwise); 80throw XsltException.Create(SR.Xslt_InvalidContents, "choose"); 86throw XsltException.Create(SR.Xslt_NoWhen);
System\Xml\Xsl\XsltOld\CompiledAction.cs (3)
35throw XsltException.Create(SR.Xslt_InvalidAttribute, input.LocalName, element); 85throw XsltException.Create(SR.Xslt_NotEmptyContents, elementName); 102throw XsltException.Create(SR.Xslt_MissingAttribute, attrName);
System\Xml\Xsl\XsltOld\Compiler.cs (18)
343throw XsltException.Create(SR.Xslt_DupVarName, variable.NameStr); 365throw XsltException.Create(SR.Xslt_DupVarName, variable.NameStr); 448catch (XsltException) 474throw XsltException.Create(SR.Xslt_InvalidAttrValue, Input.LocalName, value); 500throw XsltException.Create(SR.Xslt_InvalidAttribute, name, element); 510throw XsltException.Create(SR.Xslt_MissingAttribute, attributeAtom); 573throw XsltException.Create(SR.Xslt_CantResolve, relativeUri); 599throw XsltException.Create(SR.Xslt_CantResolve, resolved); 727throw XsltException.Create(SR.Xslt_InvalidXPath, new string[] { xpathQuery }, e); 765throw XsltException.Create(SR.Xslt_ScriptMixedLanguages, ns); 774throw XsltException.Create(SR.Xslt_InvalidExtensionNamespace); 794throw XsltException.Create(SR.Xslt_InvalidAttrValue, _input.LocalName, prefix); 831throw XsltException.Create(SR.Xslt_SingleRightAvt, avt); 859throw XsltException.Create(SR.Xslt_NestedAvt, avt); 864throw XsltException.Create(SR.Xslt_EmptyAvtExpr, avt); 893throw XsltException.Create(state == InExp ? SR.Xslt_OpenBracesAvt : SR.Xslt_OpenLiteralAvt, avt); 1150public XsltException UnexpectedKeyword() 1156return XsltException.Create(SR.Xslt_UnexpectedKeyword, thisName, parentName);
System\Xml\Xsl\XsltOld\ContainerAction.cs (21)
75throw XsltException.Create(SR.Xslt_InvalidAttrValue, "version", version); 103throw XsltException.Create(SR.Xslt_MissingAttribute, "version"); 108throw XsltException.Create(SR.Xslt_InvalidAttribute, badAttribute, element); 144throw XsltException.Create(SR.Xslt_WdXslNamespace); 146throw XsltException.Create(SR.Xslt_WrongStylesheetElement); 164throw XsltException.Create(SR.Xslt_WrongStylesheetElement); 176throw XsltException.Create(SR.Xslt_WrongStylesheetElement); 244throw XsltException.Create(SR.Xslt_CircularInclude, resolved); 298throw XsltException.Create(SR.Xslt_InvalidAttribute, name, element); 348throw XsltException.Create(SR.Xslt_InvalidAttribute, name, element); 449throw XsltException.Create(SR.Xslt_InvalidAttrValue, compiler.Input.LocalName, compiler.Input.Value); 479throw XsltException.Create(SR.Xslt_InvalidAttrValue, "elements", name); 516throw XsltException.Create(SR.Xslt_NotFirstImport); 524throw XsltException.Create(SR.Xslt_CircularInclude, resolved); 604throw XsltException.Create(SR.Xslt_NullNsAtTopLevel, input.Name); 617throw XsltException.Create(SR.Xslt_InvalidContents, "stylesheet"); 924throw XsltException.Create(SR.Xslt_ScriptInvalidLanguage, langName); 931throw XsltException.Create(SR.Xslt_InvalidAttrValue, input.LocalName, input.Value); 941throw XsltException.Create(SR.Xslt_MissingAttribute, input.Atoms.ImplementsPrefix); 945throw XsltException.Create(SR.Xslt_ScriptEmpty); 1002throw XsltException.Create(SR.Xslt_DuplicateWithParam, name.ToString());
System\Xml\Xsl\XsltOld\ElementAction.cs (1)
30throw XsltException.Create(SR.Xslt_ReservedNS, nsUri);
System\Xml\Xsl\XsltOld\InputScopeManager.cs (1)
114throw XsltException.Create(SR.Xslt_InvalidPrefix, prefix);
System\Xml\Xsl\XsltOld\MessageAction.cs (1)
62throw XsltException.Create(SR.Xslt_Terminate, recOutput.Writer.ToString());
System\Xml\Xsl\XsltOld\newinstructionaction.cs (1)
58throw XsltException.Create(SR.Xslt_UnknownExtensionElement, _name);
System\Xml\Xsl\XsltOld\NumberAction.cs (3)
168throw XsltException.Create(SR.Xslt_InvalidAttrValue, "level", value); 226throw XsltException.Create(SR.Xslt_CharAttribute, "grouping-separator"); 742throw XsltException.Create(SR.Xslt_InvalidAttrValue, "letter-value", letter);
System\Xml\Xsl\XsltOld\PrefixQName.cs (3)
44throw XsltException.Create(SR.Xslt_InvalidQName, qname); 59throw XsltException.Create(SR.Xslt_InvalidQName, qname); 67throw XsltException.Create(SR.Xslt_InvalidQName, qname);
System\Xml\Xsl\XsltOld\Processor.cs (4)
193throw XsltException.Create(SR.Xslt_CantResolve, ruri.ToString()); 638throw XsltException.Create(SR.XPath_NodeSetExpected); 697throw XsltException.Create(SR.Xslt_InvalidPattern, this.GetQueryExpression(key)); 998throw XsltException.Create(SR.Xslt_CircularReference, variable.NameStr);
System\Xml\Xsl\XsltOld\RootAction.cs (3)
109throw XsltException.Create(SR.Xslt_NoAttributeSet, name.ToString()); 179throw XsltException.Create(SR.Xslt_CircularAttributeSet, qname.ToString()); 234throw XsltException.Create(SR.Xslt_DupDecimalFormat, name.ToString());
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
136throw XsltException.Create(SR.Xslt_MultipleRoots);
System\Xml\Xsl\XsltOld\SortAction.cs (4)
46throw XsltException.Create(SR.Xslt_InvalidAttrValue, "lang", value); 70throw XsltException.Create(SR.Xslt_InvalidAttrValue, "data-type", value); 93throw XsltException.Create(SR.Xslt_InvalidAttrValue, "order", value); 114throw XsltException.Create(SR.Xslt_InvalidAttrValue, "case-order", value);
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
182throw XsltException.Create(SR.Xslt_DupTemplateName, template.Name.ToString());
System\Xml\Xsl\XsltOld\TemplateAction.cs (3)
60throw XsltException.Create(SR.Xslt_TemplateNoAttrib); 64throw XsltException.Create(SR.Xslt_InvalidModeAttribute); 110throw XsltException.Create(SR.Xslt_InvalidAttrValue, "priority", value);
System\Xml\Xsl\XsltOld\UseAttributeSetsAction.cs (1)
50catch (XsltException)
System\Xml\Xsl\XsltOld\VariableAction.cs (1)
76throw XsltException.Create(SR.Xslt_VariableCntSel2, this.nameStr);
System\Xml\Xsl\XsltOld\WithParamAction.cs (1)
27throw XsltException.Create(SR.Xslt_VariableCntSel2, this.nameStr);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (11)
74throw XsltException.Create(SR.Xslt_InvalidVariable, qname.ToString()); 93throw XsltException.Create(SR.Xslt_InvalidVariable, variable.Name!.ToString()); 235throw XsltException.Create(SR.Xslt_ScriptInvalidPrefix, prefix); // BugBug: It's better to say that method 'name' not found 241throw XsltException.Create(SR.Xslt_UnknownXsltFunction, name); 245throw XsltException.Create(SR.Xslt_WrongNumberArgs, name, argTypes.Length.ToString(CultureInfo.InvariantCulture)); 364throw XsltException.Create(SR.Xslt_InvalidPattern, matchStr); 398throw XsltException.Create(SR.Xslt_NoDecimalFormat, formatName); 536throw XsltException.Create(SR.Xslt_InvalidPrefix, prefix); 639throw XsltException.Create(SR.Xslt_NoNodeSetConversion); 649throw XsltException.Create(SR.Xslt_NoNavigatorConversion); 756throw XsltException.Create(SR.Xslt_UnsuppFunction, "unparsed-entity-uri");
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
242throw XsltException.Create(SR.Xslt_InvalidAttrValue, "method", value);
System\Xml\Xslt\XsltException.cs (2)
81internal static XsltException Create(string res, params string?[] args) 86internal static XsltException Create(string res, string?[] args, Exception inner)
System.Xml (1)
System.Xml.cs (1)
247[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Xsl.XsltException))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net9.0\System.Xml.ReaderWriter.Forwards.cs (1)
185[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Xsl.XsltException))]