move exception to its own package

This commit is contained in:
Athou
2026-08-19 22:32:37 +02:00
parent 032684de68
commit 10ea5f0b93
5 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
package com.commafeed;
import com.commafeed.frontend.exception.CommaFeedApplicationException;
import com.commafeed.frontend.exception.CommaFeedExceptionType;
import com.commafeed.security.CookieService;
import io.quarkus.runtime.annotations.RegisterForReflection;

View File

@@ -1,4 +1,4 @@
package com.commafeed;
package com.commafeed.frontend.exception;
import java.io.Serial;
import java.util.Objects;

View File

@@ -1,4 +1,4 @@
package com.commafeed;
package com.commafeed.frontend.exception;
import org.jboss.resteasy.reactive.RestResponse.Status;

View File

@@ -1,11 +1,11 @@
package com.commafeed.security.identity;
import com.commafeed.CommaFeedApplicationException;
import com.commafeed.CommaFeedExceptionType;
import com.commafeed.backend.dao.UnitOfWork;
import com.commafeed.backend.model.User;
import com.commafeed.backend.model.UserRole.Role;
import com.commafeed.backend.service.UserService;
import com.commafeed.frontend.exception.CommaFeedApplicationException;
import com.commafeed.frontend.exception.CommaFeedExceptionType;
import io.quarkus.security.identity.AuthenticationRequestContext;
import io.quarkus.security.identity.IdentityProvider;

View File

@@ -1,9 +1,9 @@
package com.commafeed.integration;
import com.commafeed.CommaFeedExceptionType;
import com.commafeed.ExceptionMappers.CommaFeedApplicationError;
import com.commafeed.ExceptionMappers.UnauthorizedResponse;
import com.commafeed.TestConstants;
import com.commafeed.frontend.exception.CommaFeedExceptionType;
import com.commafeed.frontend.model.Entries;
import com.commafeed.frontend.model.UserModel;
import com.commafeed.frontend.model.request.MarkRequest;