Uses of Class
it.unimib.unimibmodules.exception.IncorrectSizeException
Packages that use IncorrectSizeException
Package
Description
-
Uses of IncorrectSizeException in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that throw IncorrectSizeExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
Creates an Answer.AnswerController.convertToEntity
(AnswerDTO answerDTO) Converts an instance of AnswerDTO to an instance of Answerabstract M
DTOMapping.convertToEntity
(T dto) Converts an instance of T to an instance of Morg.springframework.http.ResponseEntity<String>
AnswerController.modifyAnswer
(AnswerDTO modifiedAnswerDTO) Modifies an Answer using the values ofmodifiedAnswerDTO
. -
Uses of IncorrectSizeException in it.unimib.unimibmodules.exception
Methods in it.unimib.unimibmodules.exception with parameters of type IncorrectSizeExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
ExceptionController.handleIncorrectSizeException
(IncorrectSizeException e) Returns a ResponseEntity to the rest client with the error message and HTTP code 400. -
Uses of IncorrectSizeException in it.unimib.unimibmodules.model
Methods in it.unimib.unimibmodules.model that throw IncorrectSizeExceptionModifier and TypeMethodDescriptionvoid
Answer.setCloseEndedAnswers
(Set<CloseEndedAnswer> closeEndedAnswers)