author | roland |
Wed, 03 Feb 2016 12:36:18 +0100 | |
changeset 36065 | 4f0e0cb7b016 |
parent 32849 | a2a6b6d26059 |
permissions | -rw-r--r-- |
28298
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
1 |
/* |
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
2 |
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
28298
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
4 |
* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
10 |
* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
15 |
* accompanied this code). |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
16 |
* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
20 |
* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
23 |
* questions. |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
24 |
*/ |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
25 |
/* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
26 |
* Licensed Materials - Property of IBM |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
27 |
* RMI-IIOP v1.0 |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
28 |
* Copyright IBM Corp. 1998 1999 All Rights Reserved |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
29 |
* |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
30 |
*/ |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
31 |
|
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
32 |
package javax.transaction; |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
33 |
|
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
34 |
/** |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
35 |
* This exception indicates that the transaction associated with processing |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
36 |
* of the request has been rolled back, or marked to roll back. Thus the |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
37 |
* requested operation either could not be performed or was not performed |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
38 |
* because further computation on behalf of the transaction would be |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
39 |
* fruitless |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
40 |
*/ |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
41 |
@SuppressWarnings("serial") // serialVersionUID intentionally omitted |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
42 |
public class TransactionRolledbackException extends java.rmi.RemoteException { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
43 |
|
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
44 |
/** |
32849
a2a6b6d26059
8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents:
29929
diff
changeset
|
45 |
* Specify serialVersionUID for backward compatibility |
a2a6b6d26059
8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents:
29929
diff
changeset
|
46 |
*/ |
a2a6b6d26059
8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents:
29929
diff
changeset
|
47 |
private static final long serialVersionUID = -3142798139623020577L; |
a2a6b6d26059
8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents:
29929
diff
changeset
|
48 |
|
a2a6b6d26059
8134426: Add serialVersionUID field to relevant javax.transaction classes
lancea
parents:
29929
diff
changeset
|
49 |
/** |
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
50 |
* Constructs a {@code TransactionRolledbackException}. |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
51 |
*/ |
28298
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
52 |
public TransactionRolledbackException() { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
53 |
super(); |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
54 |
} |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
55 |
|
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
56 |
/** |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
57 |
* Constructs a {@code TransactionRolledbackException}. |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
58 |
* @param msg the detail message |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
59 |
*/ |
28298
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
60 |
public TransactionRolledbackException(String msg) { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
61 |
super(msg); |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
62 |
} |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
63 |
} |