Optimize code
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package top.fatweb.oxygen.api.exception
|
||||
|
||||
class DatabaseDeleteException(message: String = "Database delete failed"): RuntimeException(message)
|
||||
@@ -0,0 +1,3 @@
|
||||
package top.fatweb.oxygen.api.exception
|
||||
|
||||
class DatabaseInsertException(message: String = "Database insert failed"): RuntimeException(message)
|
||||
@@ -0,0 +1,3 @@
|
||||
package top.fatweb.oxygen.api.exception
|
||||
|
||||
class DatabaseSelectException(message: String = "Database select failed"): RuntimeException(message)
|
||||
@@ -0,0 +1,3 @@
|
||||
package top.fatweb.oxygen.api.exception
|
||||
|
||||
class DatabaseUpdateException(message: String = "Database update failed"): RuntimeException(message)
|
||||
Reference in New Issue
Block a user