-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Ganss
committed
Jun 7, 2022
1 parent
ab977dd
commit 7a31382
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<schema id="Exceptions" | ||
xmlns="http://www.w3.org/2001/XMLSchema" | ||
attributeFormDefault="unqualified" | ||
elementFormDefault="qualified" | ||
targetNamespace="http://schemas.nsc.co.uk/exceptions" | ||
xmlns:local="http://schemas.nsc.co.uk/exceptions"> | ||
|
||
<complexType name="ExceptionBase"> | ||
<attribute name="Message"/> | ||
</complexType> | ||
|
||
<complexType name="ArgumentNullException" > | ||
<complexContent> | ||
<extension base="local:ExceptionBase"> | ||
<attribute name="Argument"/> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
|
||
<complexType name="InvalidOperationException" > | ||
<complexContent> | ||
<extension base="local:ExceptionBase"> | ||
<attribute name="Operation"/> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
|
||
<complexType name="StackOverflowException" > | ||
<complexContent> | ||
<extension base="local:ExceptionBase"> | ||
<attribute name="Method"/> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
|
||
<element name="Exception" type="local:ExceptionBase" abstract="true" substitutionGroup="local:Exception"/> | ||
<element name="ArgumentNull" type="local:ArgumentNullException" substitutionGroup="local:Exception"/> | ||
<element name="InvalidOperation" type="local:InvalidOperationException" substitutionGroup="local:Exception"/> | ||
<element name="StackOverflow" type="local:StackOverflowException" substitutionGroup="local:Exception"/> | ||
|
||
<element name="Exceptions"> | ||
<complexType> | ||
<sequence> | ||
<element minOccurs="0" maxOccurs="unbounded" ref="local:Exception"/> | ||
</sequence> | ||
</complexType> | ||
</element> | ||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters