From 84b9c2887561a0691282ab803a7aa0be22395594 Mon Sep 17 00:00:00 2001 From: EunjiShin Date: Fri, 5 Jul 2024 20:43:56 +0900 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20common=20=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EB=B0=8F=20errorCode=20enum=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/.gitignore | 42 +++ common/build.gradle.kts | 6 + .../common/exception/BusinessException.java | 18 ++ .../spot/common/exception/ErrorCode.java | 12 + db/mysql/data/#ib_16384_0.dblwr | Bin 0 -> 6291456 bytes db/mysql/data/#ib_16384_1.dblwr | Bin 0 -> 14680064 bytes db/mysql/data/#innodb_redo/#ib_redo10_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo11_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo12_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo13_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo14_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo15_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo16_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo17_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo18_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo19_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo20_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo21_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo22_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo23_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo24_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo25_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo26_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo27_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo28_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo29_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo30_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo31_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo32_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo33_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo34_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo35_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo36_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo37_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo38_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo39_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo40_tmp | Bin 0 -> 3276800 bytes db/mysql/data/#innodb_redo/#ib_redo9 | Bin 0 -> 3276800 bytes db/mysql/data/auto.cnf | 2 + db/mysql/data/binlog.000001 | Bin 0 -> 2943811 bytes db/mysql/data/binlog.000002 | Bin 0 -> 181 bytes db/mysql/data/binlog.index | 2 + db/mysql/data/ca-key.pem | Bin 0 -> 1705 bytes db/mysql/data/ca.pem | Bin 0 -> 1108 bytes db/mysql/data/client-cert.pem | Bin 0 -> 1108 bytes db/mysql/data/client-key.pem | Bin 0 -> 1701 bytes db/mysql/data/ib_buffer_pool | 281 ++++++++++++++++++ db/mysql/data/ibdata1 | Bin 0 -> 12582912 bytes db/mysql/data/mysql.ibd | Bin 0 -> 32505856 bytes db/mysql/data/mysql.sock | 1 + db/mysql/data/mysql/general_log.CSM | Bin 0 -> 35 bytes db/mysql/data/mysql/general_log.CSV | 0 db/mysql/data/mysql/general_log_214.sdi | 1 + db/mysql/data/mysql/slow_log.CSM | Bin 0 -> 35 bytes db/mysql/data/mysql/slow_log.CSV | 0 db/mysql/data/mysql/slow_log_215.sdi | 1 + db/mysql/data/mysql_upgrade_history | 1 + .../data/performance_schema/accounts_146.sdi | 1 + .../binary_log_trans_190.sdi | 1 + .../performance_schema/cond_instances_81.sdi | 1 + .../data_lock_waits_162.sdi | 1 + .../performance_schema/data_locks_161.sdi | 1 + .../data/performance_schema/error_log_82.sdi | 1 + .../events_errors_su_140.sdi | 1 + .../events_errors_su_141.sdi | 1 + .../events_errors_su_142.sdi | 1 + .../events_errors_su_143.sdi | 1 + .../events_errors_su_144.sdi | 1 + .../events_stages_cu_112.sdi | 1 + .../events_stages_hi_113.sdi | 1 + .../events_stages_hi_114.sdi | 1 + .../events_stages_su_115.sdi | 1 + .../events_stages_su_116.sdi | 1 + .../events_stages_su_117.sdi | 1 + .../events_stages_su_118.sdi | 1 + .../events_stages_su_119.sdi | 1 + .../events_statement_120.sdi | 1 + .../events_statement_121.sdi | 1 + .../events_statement_122.sdi | 1 + .../events_statement_123.sdi | 1 + .../events_statement_124.sdi | 1 + .../events_statement_125.sdi | 1 + .../events_statement_126.sdi | 1 + .../events_statement_127.sdi | 1 + .../events_statement_128.sdi | 1 + .../events_statement_129.sdi | 1 + .../events_statement_130.sdi | 1 + .../events_statement_131.sdi | 1 + .../events_transacti_132.sdi | 1 + .../events_transacti_133.sdi | 1 + .../events_transacti_134.sdi | 1 + .../events_transacti_135.sdi | 1 + .../events_transacti_136.sdi | 1 + .../events_transacti_137.sdi | 1 + .../events_transacti_138.sdi | 1 + .../events_transacti_139.sdi | 1 + .../events_waits_cur_83.sdi | 1 + .../events_waits_his_84.sdi | 1 + .../events_waits_his_85.sdi | 1 + .../events_waits_sum_86.sdi | 1 + .../events_waits_sum_87.sdi | 1 + .../events_waits_sum_88.sdi | 1 + .../events_waits_sum_89.sdi | 1 + .../events_waits_sum_90.sdi | 1 + .../events_waits_sum_91.sdi | 1 + .../performance_schema/file_instances_92.sdi | 1 + .../file_summary_by__93.sdi | 1 + .../file_summary_by__94.sdi | 1 + .../performance_schema/global_status_182.sdi | 1 + .../global_variables_185.sdi | 1 + .../data/performance_schema/host_cache_95.sdi | 1 + .../data/performance_schema/hosts_147.sdi | 1 + .../keyring_componen_192.sdi | 1 + .../performance_schema/keyring_keys_153.sdi | 1 + .../performance_schema/log_status_175.sdi | 1 + .../memory_summary_b_155.sdi | 1 + .../memory_summary_b_156.sdi | 1 + .../memory_summary_b_157.sdi | 1 + .../memory_summary_b_158.sdi | 1 + .../memory_summary_g_154.sdi | 1 + .../performance_schema/metadata_locks_160.sdi | 1 + .../performance_schema/mutex_instances_96.sdi | 1 + .../objects_summary__97.sdi | 1 + .../performance_time_98.sdi | 1 + .../persisted_variab_188.sdi | 1 + .../prepared_stateme_176.sdi | 1 + .../performance_schema/processlist_99.sdi | 1 + .../replication_appl_166.sdi | 1 + .../replication_appl_167.sdi | 1 + .../replication_appl_168.sdi | 1 + .../replication_appl_169.sdi | 1 + .../replication_appl_171.sdi | 1 + .../replication_appl_172.sdi | 1 + .../replication_asyn_173.sdi | 1 + .../replication_asyn_174.sdi | 1 + .../replication_conn_163.sdi | 1 + .../replication_conn_165.sdi | 1 + .../replication_grou_164.sdi | 1 + .../replication_grou_170.sdi | 1 + .../rwlock_instances_100.sdi | 1 + .../session_account__152.sdi | 1 + .../session_connect__151.sdi | 1 + .../performance_schema/session_status_183.sdi | 1 + .../session_variable_186.sdi | 1 + .../performance_schema/setup_actors_101.sdi | 1 + .../setup_consumers_102.sdi | 1 + .../setup_instrument_103.sdi | 1 + .../performance_schema/setup_meters_104.sdi | 1 + .../performance_schema/setup_metrics_105.sdi | 1 + .../performance_schema/setup_objects_106.sdi | 1 + .../performance_schema/setup_threads_107.sdi | 1 + .../socket_instances_148.sdi | 1 + .../socket_summary_b_149.sdi | 1 + .../socket_summary_b_150.sdi | 1 + .../status_by_accoun_178.sdi | 1 + .../performance_schema/status_by_host_179.sdi | 1 + .../status_by_thread_180.sdi | 1 + .../performance_schema/status_by_user_181.sdi | 1 + .../performance_schema/table_handles_159.sdi | 1 + .../table_io_waits_s_108.sdi | 1 + .../table_io_waits_s_109.sdi | 1 + .../table_lock_waits_110.sdi | 1 + .../data/performance_schema/threads_111.sdi | 1 + .../tls_channel_stat_191.sdi | 1 + .../user_defined_fun_189.sdi | 1 + .../user_variables_b_177.sdi | 1 + .../data/performance_schema/users_145.sdi | 1 + .../variables_by_thr_184.sdi | 1 + .../performance_schema/variables_info_187.sdi | 1 + db/mysql/data/private_key.pem | Bin 0 -> 1705 bytes db/mysql/data/public_key.pem | Bin 0 -> 452 bytes db/mysql/data/server-cert.pem | Bin 0 -> 1108 bytes db/mysql/data/server-key.pem | Bin 0 -> 1705 bytes db/mysql/data/sys/sys_config.ibd | Bin 0 -> 114688 bytes db/mysql/data/undo_001 | Bin 0 -> 16777216 bytes db/mysql/data/undo_002 | Bin 0 -> 16777216 bytes settings.gradle.kts | 1 + 177 files changed, 480 insertions(+) create mode 100644 common/.gitignore create mode 100644 common/build.gradle.kts create mode 100644 common/src/main/java/org/depromeet/spot/common/exception/BusinessException.java create mode 100644 common/src/main/java/org/depromeet/spot/common/exception/ErrorCode.java create mode 100644 db/mysql/data/#ib_16384_0.dblwr create mode 100644 db/mysql/data/#ib_16384_1.dblwr create mode 100644 db/mysql/data/#innodb_redo/#ib_redo10_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo11_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo12_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo13_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo14_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo15_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo16_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo17_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo18_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo19_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo20_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo21_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo22_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo23_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo24_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo25_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo26_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo27_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo28_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo29_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo30_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo31_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo32_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo33_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo34_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo35_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo36_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo37_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo38_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo39_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo40_tmp create mode 100644 db/mysql/data/#innodb_redo/#ib_redo9 create mode 100644 db/mysql/data/auto.cnf create mode 100644 db/mysql/data/binlog.000001 create mode 100644 db/mysql/data/binlog.000002 create mode 100644 db/mysql/data/binlog.index create mode 100644 db/mysql/data/ca-key.pem create mode 100644 db/mysql/data/ca.pem create mode 100644 db/mysql/data/client-cert.pem create mode 100644 db/mysql/data/client-key.pem create mode 100644 db/mysql/data/ib_buffer_pool create mode 100644 db/mysql/data/ibdata1 create mode 100644 db/mysql/data/mysql.ibd create mode 120000 db/mysql/data/mysql.sock create mode 100644 db/mysql/data/mysql/general_log.CSM create mode 100644 db/mysql/data/mysql/general_log.CSV create mode 100644 db/mysql/data/mysql/general_log_214.sdi create mode 100644 db/mysql/data/mysql/slow_log.CSM create mode 100644 db/mysql/data/mysql/slow_log.CSV create mode 100644 db/mysql/data/mysql/slow_log_215.sdi create mode 100644 db/mysql/data/mysql_upgrade_history create mode 100644 db/mysql/data/performance_schema/accounts_146.sdi create mode 100644 db/mysql/data/performance_schema/binary_log_trans_190.sdi create mode 100644 db/mysql/data/performance_schema/cond_instances_81.sdi create mode 100644 db/mysql/data/performance_schema/data_lock_waits_162.sdi create mode 100644 db/mysql/data/performance_schema/data_locks_161.sdi create mode 100644 db/mysql/data/performance_schema/error_log_82.sdi create mode 100644 db/mysql/data/performance_schema/events_errors_su_140.sdi create mode 100644 db/mysql/data/performance_schema/events_errors_su_141.sdi create mode 100644 db/mysql/data/performance_schema/events_errors_su_142.sdi create mode 100644 db/mysql/data/performance_schema/events_errors_su_143.sdi create mode 100644 db/mysql/data/performance_schema/events_errors_su_144.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_cu_112.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_hi_113.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_hi_114.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_su_115.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_su_116.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_su_117.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_su_118.sdi create mode 100644 db/mysql/data/performance_schema/events_stages_su_119.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_120.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_121.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_122.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_123.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_124.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_125.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_126.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_127.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_128.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_129.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_130.sdi create mode 100644 db/mysql/data/performance_schema/events_statement_131.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_132.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_133.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_134.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_135.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_136.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_137.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_138.sdi create mode 100644 db/mysql/data/performance_schema/events_transacti_139.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_cur_83.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_his_84.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_his_85.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_86.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_87.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_88.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_89.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_90.sdi create mode 100644 db/mysql/data/performance_schema/events_waits_sum_91.sdi create mode 100644 db/mysql/data/performance_schema/file_instances_92.sdi create mode 100644 db/mysql/data/performance_schema/file_summary_by__93.sdi create mode 100644 db/mysql/data/performance_schema/file_summary_by__94.sdi create mode 100644 db/mysql/data/performance_schema/global_status_182.sdi create mode 100644 db/mysql/data/performance_schema/global_variables_185.sdi create mode 100644 db/mysql/data/performance_schema/host_cache_95.sdi create mode 100644 db/mysql/data/performance_schema/hosts_147.sdi create mode 100644 db/mysql/data/performance_schema/keyring_componen_192.sdi create mode 100644 db/mysql/data/performance_schema/keyring_keys_153.sdi create mode 100644 db/mysql/data/performance_schema/log_status_175.sdi create mode 100644 db/mysql/data/performance_schema/memory_summary_b_155.sdi create mode 100644 db/mysql/data/performance_schema/memory_summary_b_156.sdi create mode 100644 db/mysql/data/performance_schema/memory_summary_b_157.sdi create mode 100644 db/mysql/data/performance_schema/memory_summary_b_158.sdi create mode 100644 db/mysql/data/performance_schema/memory_summary_g_154.sdi create mode 100644 db/mysql/data/performance_schema/metadata_locks_160.sdi create mode 100644 db/mysql/data/performance_schema/mutex_instances_96.sdi create mode 100644 db/mysql/data/performance_schema/objects_summary__97.sdi create mode 100644 db/mysql/data/performance_schema/performance_time_98.sdi create mode 100644 db/mysql/data/performance_schema/persisted_variab_188.sdi create mode 100644 db/mysql/data/performance_schema/prepared_stateme_176.sdi create mode 100644 db/mysql/data/performance_schema/processlist_99.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_166.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_167.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_168.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_169.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_171.sdi create mode 100644 db/mysql/data/performance_schema/replication_appl_172.sdi create mode 100644 db/mysql/data/performance_schema/replication_asyn_173.sdi create mode 100644 db/mysql/data/performance_schema/replication_asyn_174.sdi create mode 100644 db/mysql/data/performance_schema/replication_conn_163.sdi create mode 100644 db/mysql/data/performance_schema/replication_conn_165.sdi create mode 100644 db/mysql/data/performance_schema/replication_grou_164.sdi create mode 100644 db/mysql/data/performance_schema/replication_grou_170.sdi create mode 100644 db/mysql/data/performance_schema/rwlock_instances_100.sdi create mode 100644 db/mysql/data/performance_schema/session_account__152.sdi create mode 100644 db/mysql/data/performance_schema/session_connect__151.sdi create mode 100644 db/mysql/data/performance_schema/session_status_183.sdi create mode 100644 db/mysql/data/performance_schema/session_variable_186.sdi create mode 100644 db/mysql/data/performance_schema/setup_actors_101.sdi create mode 100644 db/mysql/data/performance_schema/setup_consumers_102.sdi create mode 100644 db/mysql/data/performance_schema/setup_instrument_103.sdi create mode 100644 db/mysql/data/performance_schema/setup_meters_104.sdi create mode 100644 db/mysql/data/performance_schema/setup_metrics_105.sdi create mode 100644 db/mysql/data/performance_schema/setup_objects_106.sdi create mode 100644 db/mysql/data/performance_schema/setup_threads_107.sdi create mode 100644 db/mysql/data/performance_schema/socket_instances_148.sdi create mode 100644 db/mysql/data/performance_schema/socket_summary_b_149.sdi create mode 100644 db/mysql/data/performance_schema/socket_summary_b_150.sdi create mode 100644 db/mysql/data/performance_schema/status_by_accoun_178.sdi create mode 100644 db/mysql/data/performance_schema/status_by_host_179.sdi create mode 100644 db/mysql/data/performance_schema/status_by_thread_180.sdi create mode 100644 db/mysql/data/performance_schema/status_by_user_181.sdi create mode 100644 db/mysql/data/performance_schema/table_handles_159.sdi create mode 100644 db/mysql/data/performance_schema/table_io_waits_s_108.sdi create mode 100644 db/mysql/data/performance_schema/table_io_waits_s_109.sdi create mode 100644 db/mysql/data/performance_schema/table_lock_waits_110.sdi create mode 100644 db/mysql/data/performance_schema/threads_111.sdi create mode 100644 db/mysql/data/performance_schema/tls_channel_stat_191.sdi create mode 100644 db/mysql/data/performance_schema/user_defined_fun_189.sdi create mode 100644 db/mysql/data/performance_schema/user_variables_b_177.sdi create mode 100644 db/mysql/data/performance_schema/users_145.sdi create mode 100644 db/mysql/data/performance_schema/variables_by_thr_184.sdi create mode 100644 db/mysql/data/performance_schema/variables_info_187.sdi create mode 100644 db/mysql/data/private_key.pem create mode 100644 db/mysql/data/public_key.pem create mode 100644 db/mysql/data/server-cert.pem create mode 100644 db/mysql/data/server-key.pem create mode 100644 db/mysql/data/sys/sys_config.ibd create mode 100644 db/mysql/data/undo_001 create mode 100644 db/mysql/data/undo_002 diff --git a/common/.gitignore b/common/.gitignore new file mode 100644 index 00000000..b63da455 --- /dev/null +++ b/common/.gitignore @@ -0,0 +1,42 @@ +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/common/build.gradle.kts b/common/build.gradle.kts new file mode 100644 index 00000000..54f77f44 --- /dev/null +++ b/common/build.gradle.kts @@ -0,0 +1,6 @@ +dependencies { + implementation("org.springframework.boot:spring-boot-starter-web") +} + +tasks.jar { enabled = true } +tasks.bootJar { enabled = false } \ No newline at end of file diff --git a/common/src/main/java/org/depromeet/spot/common/exception/BusinessException.java b/common/src/main/java/org/depromeet/spot/common/exception/BusinessException.java new file mode 100644 index 00000000..121936b7 --- /dev/null +++ b/common/src/main/java/org/depromeet/spot/common/exception/BusinessException.java @@ -0,0 +1,18 @@ +package org.depromeet.spot.common.exception; + +import org.springframework.http.HttpStatus; + +import lombok.Getter; + +@Getter +public class BusinessException extends RuntimeException { + + private final HttpStatus httpStatus; + private final String code; + + public BusinessException(ErrorCode errorCode) { + super(errorCode.getMessage()); + this.httpStatus = errorCode.getStatus(); + this.code = errorCode.getCode(); + } +} diff --git a/common/src/main/java/org/depromeet/spot/common/exception/ErrorCode.java b/common/src/main/java/org/depromeet/spot/common/exception/ErrorCode.java new file mode 100644 index 00000000..d9308182 --- /dev/null +++ b/common/src/main/java/org/depromeet/spot/common/exception/ErrorCode.java @@ -0,0 +1,12 @@ +package org.depromeet.spot.common.exception; + +import org.springframework.http.HttpStatus; + +public interface ErrorCode { + + HttpStatus getStatus(); + + String getCode(); + + String getMessage(); +} diff --git a/db/mysql/data/#ib_16384_0.dblwr b/db/mysql/data/#ib_16384_0.dblwr new file mode 100644 index 0000000000000000000000000000000000000000..04318d766de96c68e6bdd9aeefa4da49b02d3190 GIT binary patch literal 6291456 zcmeFa2YeKD{{R1;EvcKb>5XJV4DB-sQItN|6fvVy3b z1-s&@EZFriN|G1bclbujDmu)QY9r_FXshh zlbEfL((JPb`*{TmdWLJd=m~YIkK3P+p5Z~JXI2C~B|&in@CXWq9ZZkq=78*@XAnm- zCJ+Dt5C8!X009sH0T2KI5C8!X009sH0T2KI5C8!X009sH0T2KI5C8!X009sH0T2KI z5C8!X009sH0T2KI5C8!X009sH0T2KI5C8!X009sH0T2KI5cqE*@Vuz|*XsOlJt<_n zXt!289hkiJ|3Un#R^>1LAJF|CxC?-$iTMT+cK}clw0d+*AOHd&00JNY0w4eaAOHd& z00JNY0)JitzTN@tUUis200ck)1V8`;KmY_l00ck)1V8`;KmY_l00ck)1V8`;KmY_l z00ck)1V8`;KmY_l00ck)1V8`;KmY_l00ck)1V8`;ek%f6-M?1nf4zBAy{O$!(&s9l zT@oj1`u&rrS=d7c@y+#4t$KmT_b7DjTj)jgzha7P5mxbS^&%ykAGL*p&Ay0WaW4VI zA$^0rKgFNrv;8?96{q+H`vh%U%)#wT#fB?NG=E3EqG7-U0w4eaAOHd&00JNY0w4ea zAOHd&00JNY0w4eaAOHd&00JNY0w4eaAOHd&00JNY0w4eaAOHd&00JNY0w4eaAOHd& z00JNY0w4eaAOHd&00JNY0w4eaAOHeg1hl$;t7LiNP`q<7;o59K_)q}nIlirwed7v zWbnAEnlV!*_$UU+fwvgPRFGK?tmVK{X>g#8r|JSDs>YovHoBr_cH+XN|DAfruYg9?j{{a(f&wfE}hOTRpxRe8BOsG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