Uses of Class
edu.ntnu.idatt2106_2023_06.backend.exception.exists.ExistsException
Packages that use ExistsException
Package
Description
-
Uses of ExistsException in edu.ntnu.idatt2106_2023_06.backend.exception
Methods in edu.ntnu.idatt2106_2023_06.backend.exception with parameters of type ExistsExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
ControllerAdvisor.existsAction
(ExistsException e, org.springframework.web.context.request.WebRequest webRequest) This method handles ExistsException by returning an HTTP response entity with a body containing the time of the error and the message to be returned to the client with a status code of 400. -
Uses of ExistsException in edu.ntnu.idatt2106_2023_06.backend.exception.exists
Subclasses of ExistsException in edu.ntnu.idatt2106_2023_06.backend.exception.existsModifier and TypeClassDescriptionclass
An exception that is thrown when a category already exists in the database.class
This is an exception thrown when trying to create a file that already exists.class
Exception thrown when attempting to create a new user with a username that already exists in the system.