Skip to content

Commit 8b3adfe

Browse files
committed
add-javadoc
javadocに`DataIntegrityViolationException`を追加
1 parent 6eb21a3 commit 8b3adfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spar-wings-spring-data-chunk/src/main/java/jp/xet/sparwings/spring/data/repository/UpdatableRepository.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.springframework.dao.DataAccessException;
2121
import org.springframework.dao.IncorrectResultSizeDataAccessException;
22+
import org.springframework.dao.DataIntegrityViolationException;
2223
import org.springframework.data.repository.NoRepositoryBean;
2324

2425
/**
@@ -40,6 +41,7 @@ public interface UpdatableRepository<E, ID extends Serializable>extends BaseRepo
4041
* @param entity entity to update
4142
* @return updated entity
4243
* @throws IncorrectResultSizeDataAccessException 対象エンティティがなかった場合
44+
* @throws DataIntegrityViolationException 一意制約に違反した場合
4345
* @throws DataAccessException データアクセスエラーが発生した場合
4446
* @since 0.25
4547
*/

0 commit comments

Comments
 (0)