-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[라이브러리 구현하기 - 2단계] 헙크(정현승) 미션 제출합니다. (#351)
* refactor: `PreparedStatementSetter` 구현 * refactor: 기존 코드로 원복
- Loading branch information
1 parent
bf8a6f1
commit ef9baaa
Showing
4 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...rc/main/java/org/springframework/jdbc/core/exception/InvalidResultSetAccessException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.springframework.jdbc.core.exception; | ||
|
||
/** | ||
* ResultSet이 잘못된 방식으로 접근되었을 때 발생하는 예외. | ||
* 이는 일반적으로 잘못된 ResultSet 열 인덱스 또는 이름이 지정되었을 때 발생합니다. | ||
* 또한 연결이 끊긴 SqlRowSets에 의해 발생되기도 합니다. | ||
*/ | ||
public class InvalidResultSetAccessException extends RuntimeException { | ||
public InvalidResultSetAccessException(final String reason) { | ||
super(reason); | ||
} | ||
|
||
public InvalidResultSetAccessException() { | ||
super(); | ||
} | ||
|
||
public InvalidResultSetAccessException(final String reason, final Throwable cause) { | ||
super(reason, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters