-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Move base exceptions to exception libs #452
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package com.reckue.post.exception.model.comment; | ||
|
||
import com.reckue.post.exception.ModelNotFoundException; | ||
import com.reckue.libs.exception.ReckueException; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's remove the plural everywhere |
||
import lombok.Getter; | ||
|
||
/** | ||
|
@@ -11,7 +11,7 @@ | |
*/ | ||
@Getter | ||
@SuppressWarnings("unused") | ||
public class CommentNotFoundException extends ModelNotFoundException { | ||
public class CommentNotFoundException extends ReckueException { | ||
|
||
private final String message; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the
ReckueException
toBaseException
.Because the name of the service may change in the future.