Package: RollbackException
RollbackException
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RollbackException(String) |
|
|
|
|
|
||||||||||||||||||||
RollbackException(String, Throwable) |
|
|
|
|
|
||||||||||||||||||||
RollbackException(Throwable) |
|
|
|
|
|
Coverage
1: /**
2: * Copyright (C) 2016 Czech Technical University in Prague
3: * <p>
4: * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
5: * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
6: * version.
7: * <p>
8: * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
9: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
10: * details. You should have received a copy of the GNU General Public License along with this program. If not, see
11: * <http://www.gnu.org/licenses/>.
12: */
13: package cz.cvut.kbss.jopa.exceptions;
14:
15: import cz.cvut.kbss.jopa.transactions.EntityTransaction;
16:
17: /**
18: * Thrown by the persistence provider when {@link EntityTransaction#commit()} fails.
19: */
20: public class RollbackException extends OWLPersistenceException {
21:
22: private static final long serialVersionUID = 8371285315001388603L;
23:
24: public RollbackException(String message) {
25: super(message);
26: }
27:
28: public RollbackException(Throwable cause) {
29: super(cause);
30: }
31:
32: public RollbackException(String message, Throwable cause) {
33: super(message, cause);
34: }
35: }