<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oomodels.org/index.php?action=history&amp;feed=atom&amp;title=Artefact%3AModel%2Fcom%2Fsphenon%2Fbasics%2Fexception%2FTransactionFailure</id>
	<title>Artefact:Model/com/sphenon/basics/exception/TransactionFailure - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oomodels.org/index.php?action=history&amp;feed=atom&amp;title=Artefact%3AModel%2Fcom%2Fsphenon%2Fbasics%2Fexception%2FTransactionFailure"/>
	<link rel="alternate" type="text/html" href="https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;action=history"/>
	<updated>2026-04-29T16:01:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3562&amp;oldid=prev</id>
		<title>AndreasLeue at 09:57, 26 March 2010</title>
		<link rel="alternate" type="text/html" href="https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3562&amp;oldid=prev"/>
		<updated>2010-03-26T09:57:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:57, 26 March 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Artefact:Model/com/sphenon/basics/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exceptions&lt;/del&gt;/TransactionFailure|TransactionFailure]]s represent&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Artefact:Model/com/sphenon/basics/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exception&lt;/ins&gt;/TransactionFailure|TransactionFailure]]s represent&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;failures during the execution of transactions, caused by conflicts or otherwise database&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;failures during the execution of transactions, caused by conflicts or otherwise database&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;related reasons. On the one hand side, a reasonable application might not only want but&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;related reasons. On the one hand side, a reasonable application might not only want but&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AndreasLeue</name></author>
	</entry>
	<entry>
		<id>https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3561&amp;oldid=prev</id>
		<title>AndreasLeue at 09:57, 26 March 2010</title>
		<link rel="alternate" type="text/html" href="https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3561&amp;oldid=prev"/>
		<updated>2010-03-26T09:57:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:57, 26 March 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Artefact:Model/com/sphenon/basics/exceptions/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ReturnCode&lt;/del&gt;|TransactionFailure]]s represent&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Artefact:Model/com/sphenon/basics/exceptions/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TransactionFailure&lt;/ins&gt;|TransactionFailure]]s represent&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;failures during the execution of transactions, caused by conflicts or otherwise database&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;failures during the execution of transactions, caused by conflicts or otherwise database&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;related reasons. On the one hand side, a reasonable application might not only want but&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;related reasons. On the one hand side, a reasonable application might not only want but&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AndreasLeue</name></author>
	</entry>
	<entry>
		<id>https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3560&amp;oldid=prev</id>
		<title>AndreasLeue: New page: {{Metabox | Meta_Type                  = Type:org/oomodels/WIML/1.0 | Meta_Domain                = Domain:it/test | Meta_Category              = Type:org/oomodels/wiki/Model | Meta_Downloa...</title>
		<link rel="alternate" type="text/html" href="https://oomodels.org/index.php?title=Artefact:Model/com/sphenon/basics/exception/TransactionFailure&amp;diff=3560&amp;oldid=prev"/>
		<updated>2010-03-26T09:56:35Z</updated>

		<summary type="html">&lt;p&gt;New page: {{Metabox | Meta_Type                  = Type:org/oomodels/WIML/1.0 | Meta_Domain                = Domain:it/test | Meta_Category              = Type:org/oomodels/wiki/Model | Meta_Downloa...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Metabox&lt;br /&gt;
| Meta_Type                  = Type:org/oomodels/WIML/1.0&lt;br /&gt;
| Meta_Domain                = Domain:it/test&lt;br /&gt;
| Meta_Category              = Type:org/oomodels/wiki/Model&lt;br /&gt;
| Meta_Download              = true&lt;br /&gt;
| Meta_Diagram                 = Artefact:Diagram/com/sphenon/basics/exception/Exceptions&lt;br /&gt;
| Meta_AddTypeToCategory     = true&lt;br /&gt;
| Meta_AddCategoryToCategory = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wiml&amp;gt;&lt;br /&gt;
* TransactionFailure&lt;br /&gt;
  &amp;gt; java.lang.RuntimeException&lt;br /&gt;
&amp;lt;/wiml&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
[[Artefact:Model/com/sphenon/basics/exceptions/ReturnCode|TransactionFailure]]s represent&lt;br /&gt;
failures during the execution of transactions, caused by conflicts or otherwise database&lt;br /&gt;
related reasons. On the one hand side, a reasonable application might not only want but&lt;br /&gt;
actually should catch them, on the other hand side they might be thrown in each and every&lt;br /&gt;
modification related method, i.e. means in many methods. &lt;br /&gt;
&lt;br /&gt;
Therefore it is extremely unhandy to declare those exceptions at all those methods -&lt;br /&gt;
a classical match for the java RuntimeException. Furthermore, emphasising the special&lt;br /&gt;
nature of TransactionFailures, they should even not be catched directly at the methods&lt;br /&gt;
throwing them, because the invoker does not have enough information to know how to&lt;br /&gt;
handle the exception, he might even not know that he's involved in a transaction.&lt;br /&gt;
&lt;br /&gt;
So, where are those exceptions to be catched? The correct answer to this question is&lt;br /&gt;
&amp;quot;the transaction boundary&amp;quot;, a concept not existing in programming languages like java.&lt;br /&gt;
This boundary is a closure (not modeled) around all possible entry points (method&lt;br /&gt;
invocations) into an object aggregate currently participating with an ongoing transaction.&lt;br /&gt;
Much care must be taken to keep this closure really closed, or alternative, tools like&lt;br /&gt;
code generators might be used to guarantee it (thereby augmenting language behaviour).&lt;br /&gt;
&lt;br /&gt;
Unfortunately, as a consequence of the lack of lanugage support for such a concept, no&lt;br /&gt;
warnings will be issued if TransactionFailures are not caught by the application, which&lt;br /&gt;
will result in runtime failures.&lt;/div&gt;</summary>
		<author><name>AndreasLeue</name></author>
	</entry>
</feed>