[weld-commits] Weld SVN: r4787 - doc/trunk/reference/en-US.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Sun Nov 8 14:15:53 EST 2009
Author: gavin.king at jboss.com
Date: 2009-11-08 14:15:53 -0500 (Sun, 08 Nov 2009)
New Revision: 4787
Modified:
doc/trunk/reference/en-US/ee.xml
doc/trunk/reference/en-US/interceptors.xml
Log:
throws Exception
Modified: doc/trunk/reference/en-US/ee.xml
===================================================================
--- doc/trunk/reference/en-US/ee.xml 2009-11-08 18:51:48 UTC (rev 4786)
+++ doc/trunk/reference/en-US/ee.xml 2009-11-08 19:15:53 UTC (rev 4787)
@@ -22,7 +22,7 @@
public class TransactionInterceptor {
@Resource Transaction transaction;
- @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
}]]></programlisting>
<programlisting role="JAVA"><![CDATA[@SessionScoped
Modified: doc/trunk/reference/en-US/interceptors.xml
===================================================================
--- doc/trunk/reference/en-US/interceptors.xml 2009-11-08 18:51:48 UTC (rev 4786)
+++ doc/trunk/reference/en-US/interceptors.xml 2009-11-08 19:15:53 UTC (rev 4787)
@@ -35,7 +35,7 @@
</para>
<programlisting role="JAVA"><![CDATA[public class TransactionInterceptor {
- @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
}]]></programlisting>
<para>
@@ -92,7 +92,7 @@
<programlisting role="JAVA"><![CDATA[@Transactional @Interceptor
public class TransactionInterceptor {
- @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
}]]></programlisting>
<para>
@@ -105,7 +105,7 @@
@Resource Transaction transaction;
- @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
}]]></programlisting>
@@ -194,7 +194,7 @@
<programlisting role="JAVA"><![CDATA[@Transactional(requiresNew = true) @Interceptor
public class RequiresNewTransactionInterceptor {
- @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
}]]></programlisting>
<para>
More information about the weld-commits
mailing list