예외 메시지 다국어 처리를 위한 키 기반 구조 도입
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
package kr.co.vividnext.sodalive.common
|
||||
|
||||
class SodaException(message: String, val errorProperty: String? = null) : RuntimeException(message)
|
||||
class SodaException(
|
||||
message: String? = null,
|
||||
val errorProperty: String? = null,
|
||||
val messageKey: String? = null
|
||||
) : RuntimeException(message)
|
||||
|
||||
class AdsChargeException(message: String) : RuntimeException(message)
|
||||
class AdsChargeException(
|
||||
message: String? = null,
|
||||
val messageKey: String? = null
|
||||
) : RuntimeException(message)
|
||||
|
||||
Reference in New Issue
Block a user