jdk/src/java.transaction/share/classes/javax/transaction/InvalidTransactionException.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
37 * occured when trying to register a resource. |
37 * occured when trying to register a resource. |
38 */ |
38 */ |
39 @SuppressWarnings("serial") // serialVersionUID intentionally omitted |
39 @SuppressWarnings("serial") // serialVersionUID intentionally omitted |
40 public class InvalidTransactionException extends java.rmi.RemoteException { |
40 public class InvalidTransactionException extends java.rmi.RemoteException { |
41 |
41 |
|
42 /** |
|
43 * Constructs an {@code InvalidTransactionException}. |
|
44 */ |
42 public InvalidTransactionException() { |
45 public InvalidTransactionException() { |
43 super(); |
46 super(); |
44 } |
47 } |
45 |
48 |
|
49 /** |
|
50 * Constructs an {@code InvalidTransactionException}. |
|
51 * @param msg the detail message |
|
52 */ |
46 public InvalidTransactionException(String msg) { |
53 public InvalidTransactionException(String msg) { |
47 super(msg); |
54 super(msg); |
48 } |
55 } |
49 } |
56 } |