author | shade |
Tue, 01 Sep 2015 12:57:41 +0300 | |
changeset 32467 | 23b29549f8d1 |
parent 29929 | 98aafceddece |
child 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 a request carried a null transaction context, |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
36 |
* but the target object requires an activate transaction. |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
37 |
*/ |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
38 |
@SuppressWarnings("serial") // serialVersionUID intentionally omitted |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
39 |
public class TransactionRequiredException extends java.rmi.RemoteException { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
40 |
|
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
41 |
/** |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
42 |
* Constructs a {@code TransactionRequiredException}. |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
43 |
*/ |
28298
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
44 |
public TransactionRequiredException() { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
45 |
super(); |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
46 |
} |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
47 |
|
29929
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
48 |
/** |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
49 |
* Constructs a {@code TransactionRequiredException}. |
98aafceddece
8077991: Missing javadoc in exceptions types in javax.transaction
darcy
parents:
28298
diff
changeset
|
50 |
* @param msg the detail message |
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 TransactionRequiredException(String msg) { |
7fca67ba0b9f
8047776: Add module java.transaction to export API javax.transaction
alanb
parents:
diff
changeset
|
53 |
super(msg); |
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 |
} |