Skip to content

Commit

Permalink
chore: Exception 패키지로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
splitCoding committed Oct 8, 2023
1 parent da26b60 commit 37154ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
import org.junit.jupiter.api.Test;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.JdbcTemplateBase;
import org.springframework.jdbc.core.error.TableNotFoundSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.ColumnSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.DataConversionSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.MethodNotAllowedSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.SyntaxSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.TableNotFoundSqlRuntimeException;
import org.springframework.jdbc.core.mapper.ResultSetObjectMapper;

class SqlRuntimeExceptionTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.springframework.jdbc.core.error.exception.MethodNotAllowedSqlRuntimeException.ExecuteUpdateSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.SqlRuntimeException;
import org.springframework.jdbc.core.error.exception.SyntaxSqlRuntimeException;
import org.springframework.jdbc.core.error.exception.TableNotFoundSqlRuntimeException;

public enum SqlExceptionType {
METHOD_NOT_ALLOWED_EXECUTE_UPDATE(90001, ExecuteUpdateSqlRuntimeException::new),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.springframework.jdbc.core.error;
package org.springframework.jdbc.core.error.exception;

import java.sql.SQLException;
import org.springframework.jdbc.core.error.exception.SqlRuntimeException;

public class TableNotFoundSqlRuntimeException extends SqlRuntimeException {

Expand Down

0 comments on commit 37154ec

Please sign in to comment.