Refactoring et amélioration des endpoints friendship
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.lions.dev.exception;
|
||||
|
||||
/**
|
||||
* Exception levée lorsque la relation d'amitié n'est pas trouvée.
|
||||
*/
|
||||
public class FriendshipNotFoundException extends RuntimeException {
|
||||
|
||||
public FriendshipNotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public FriendshipNotFoundException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user