File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
spring-tx/src/main/java/org/springframework/transaction Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
38
38
* {@link org.springframework.transaction.interceptor.RuleBasedTransactionAttribute}
39
39
* class, and in fact {@link AnnotationTransactionAttributeSource} will directly
40
40
* convert the data to the latter class, so that Spring's transaction support code
41
- * does not have to know about annotations. If no rules are relevant to the exception,
42
- * it will be treated like
43
- * {@link org.springframework.transaction.interceptor.DefaultTransactionAttribute}
44
- * (rolling back on {@link RuntimeException} and {@link Error} but not on checked
45
- * exceptions).
41
+ * does not have to know about annotations. If no custom rollback rules apply,
42
+ * the transaction will roll back on {@link RuntimeException} and {@link Error}
43
+ * but not on checked exceptions.
46
44
*
47
45
* <p>For specific information about the semantics of this annotation's attributes,
48
46
* consult the {@link org.springframework.transaction.TransactionDefinition} and
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
29
29
/**
30
30
* TransactionAttribute implementation that works out whether a given exception
31
31
* should cause transaction rollback by applying a number of rollback rules,
32
- * both positive and negative. If no rules are relevant to the exception, it
32
+ * both positive and negative. If no custom rollback rules apply, this attribute
33
33
* behaves like DefaultTransactionAttribute (rolling back on runtime exceptions).
34
34
*
35
35
* <p>{@link TransactionAttributeEditor} creates objects of this class.
You can’t perform that action at this time.
0 commit comments