[seam-commits] Seam SVN: r13547 - in modules/persistence/trunk: impl/src/main/java/org/jboss/seam/persistence/transaction and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Aug 3 03:52:13 EDT 2010
Author: swd847
Date: 2010-08-03 03:52:12 -0400 (Tue, 03 Aug 2010)
New Revision: 13547
Added:
modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java
Removed:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java
Log:
move SeamApplicationException tp API
Added: modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java
===================================================================
--- modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java (rev 0)
+++ modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java 2010-08-03 07:52:12 UTC (rev 13547)
@@ -0,0 +1,32 @@
+package org.jboss.seam.persistence.transaction;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Seam Annotation for identifying an Exception class as an Application
+ * Exception, which does not cause a transaction rollback
+ *
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+ at Documented
+ at Inherited
+public @interface SeamApplicationException
+{
+ /**
+ * Indicates whether the application exception designation should apply to
+ * subclasses of the annotated exception class.
+ */
+ boolean inherited() default true;
+
+ /**
+ * Indicates whether the container should cause the transaction to rollback
+ * when the exception is thrown.
+ */
+ boolean rollback() default false;
+}
Deleted: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java 2010-08-03 07:51:11 UTC (rev 13546)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/SeamApplicationException.java 2010-08-03 07:52:12 UTC (rev 13547)
@@ -1,32 +0,0 @@
-package org.jboss.seam.persistence.transaction;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Seam Annotation for identifying an Exception class as an Application
- * Exception, which does not cause a transaction rollback
- *
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
- at Documented
- at Inherited
-public @interface SeamApplicationException
-{
- /**
- * Indicates whether the application exception designation should apply to
- * subclasses of the annotated exception class.
- */
- boolean inherited() default true;
-
- /**
- * Indicates whether the container should cause the transaction to rollback
- * when the exception is thrown.
- */
- boolean rollback() default false;
-}
More information about the seam-commits
mailing list