Skip to content

Commit 577dc77

Browse files
committed
rename exception mapper
1 parent 60c0d6c commit 577dc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/exploit/keeper/component/exception/ConstrainValidationException.kt renamed to src/main/kotlin/org/exploit/keeper/component/exception/ConstrainValidationExceptionMapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import jakarta.ws.rs.ext.ExceptionMapper
66
import jakarta.ws.rs.ext.Provider
77

88
@Provider
9-
class ConstrainValidationException: ExceptionMapper<ConstraintViolationException> {
9+
class ConstrainValidationExceptionMapper: ExceptionMapper<ConstraintViolationException> {
1010
override fun toResponse(p0: ConstraintViolationException): Response {
1111
return Response.status(Response.Status.BAD_REQUEST)
1212
.build()

0 commit comments

Comments
 (0)