Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1637-groups-membershipexceededex…
Browse files Browse the repository at this point in the history
…ception' into 1632-epic-create-groups
  • Loading branch information
scmet committed May 7, 2024
2 parents a97a1fd + 7135ff4 commit 70e5cc0
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package de.thm.ii.fbs.controller.exception

import org.springframework.http.HttpStatus
import org.springframework.web.bind.annotation.ResponseStatus

/**
* ConflictException 400
* @param message A human readable String
*/
@ResponseStatus(value = HttpStatus.CONFLICT)
class MembershipExceededException(message: String = "Die Gruppe ist voll.") extends RuntimeException(message)

0 comments on commit 70e5cc0

Please sign in to comment.