You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2006/08/15 13:04:11 UTC
svn commit: r431574 - in
/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence:
OptimisticLockException.java RollbackException.java
Author: dblevins
Date: Tue Aug 15 04:04:11 2006
New Revision: 431574
URL: http://svn.apache.org/viewvc?rev=431574&view=rev
Log:
Missed a couple exceptions from section 3.7
Added:
geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/OptimisticLockException.java
geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/RollbackException.java
Added: geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/OptimisticLockException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/OptimisticLockException.java?rev=431574&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/OptimisticLockException.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/OptimisticLockException.java Tue Aug 15 04:04:11 2006
@@ -0,0 +1,41 @@
+/**
+ *
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.persistence;
+
+public class OptimisticLockException extends PersistenceException {
+ public OptimisticLockException() {
+ }
+
+ public OptimisticLockException(String string) {
+ super(string);
+ }
+
+ public OptimisticLockException(String string, Throwable throwable) {
+ super(string, throwable);
+ }
+
+ public OptimisticLockException(Throwable throwable) {
+ super(throwable);
+ }
+
+}
Added: geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/RollbackException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/RollbackException.java?rev=431574&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/RollbackException.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/RollbackException.java Tue Aug 15 04:04:11 2006
@@ -0,0 +1,40 @@
+/**
+ *
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.persistence;
+
+public class RollbackException extends PersistenceException {
+ public RollbackException() {
+ }
+
+ public RollbackException(String string) {
+ super(string);
+ }
+
+ public RollbackException(String string, Throwable throwable) {
+ super(string, throwable);
+ }
+
+ public RollbackException(Throwable throwable) {
+ super(throwable);
+ }
+}