Uses of Class
jp.ecuacion.splib.web.exception.InputValidationException
Packages that use InputValidationException
-
Uses of InputValidationException in jp.ecuacion.splib.web.controller
Methods in jp.ecuacion.splib.web.controller that throw InputValidationExceptionModifier and TypeMethodDescriptionvoidSplibGeneralController.prepare(org.springframework.ui.Model model, SplibGeneralController.PrepareSettings settings, SplibGeneralForm... forms) voidSplibGeneralController.prepare(org.springframework.ui.Model model, SplibGeneralForm... forms) voidSplibGeneralController.prepare(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser, SplibGeneralController.PrepareSettings settings, SplibGeneralForm... forms) エラー処理などに必要な処理を行う。voidSplibGeneralController.prepare(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser, SplibGeneralForm... forms) 現時点でloginUserを具体的に使用しているわけではないので、loginUserの引数がないmethodを呼んでも問題ないが、 未来のため一応実装しておく。SplibSearchListController.showInsertForm(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser) SplibSearchListController.showUpdateForm(org.springframework.ui.Model model, org.springframework.security.core.userdetails.UserDetails loginUser) -
Uses of InputValidationException in jp.ecuacion.splib.web.exceptionhandler
Methods in jp.ecuacion.splib.web.exceptionhandler with parameters of type InputValidationExceptionModifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewSplibExceptionHandler.handleInputValidationException(InputValidationException exception, org.springframework.security.core.userdetails.UserDetails loginUser) 本来はspring mvcのvalidationに任せれば良いのだが、以下の2点が気に入らず、springで持っているerror情報(*)を * 修正しようとしたが「unmodifiablelist」で修正できなかったため、やむなく個別の処理を作成。