Skip to content

Commit

Permalink
m4l3 - Models & Mappers + exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
svok committed Mar 11, 2024
1 parent 214f25d commit 864e6f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package ru.otus.otuskotlin.marketplace.mappers.v1.exceptions

class UnknownRequestClass(clazz: Class<*>) : RuntimeException("Class $clazz cannot be mapped to MkplContext")
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package ru.otus.otuskotlin.marketplace.common.exceptions

import ru.otus.otuskotlin.marketplace.common.models.MkplCommand


class UnknownMkplCommand(command: MkplCommand) : Throwable("Wrong command $command at mapping toTransport stage")

0 comments on commit 864e6f7

Please sign in to comment.