- Locate the SoapUI installation dir
- Edit the SoapUI-X.X.X.vmoptions (X.X.X is the SoapUI version) and add the
-Duser.home=<YOUR_NEW_WORKSPACE_DIR>
. - Restart SoapUI
- Done
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ControllerAdvice | |
public class CustomExceptionControllerAdvice { | |
@ExceptionHandler(MultipartException.class) | |
void handleMultipartException(MultipartException ex,HttpServletResponse response) throws IOException { | |
response.sendError(HttpStatus.BAD_REQUEST.value(),"Please select a file"); | |
} | |
@ExceptionHandler(ConstraintViolationException.class) | |
public void handleConstraintViolationException(ConstraintViolationException ex,HttpServletResponse response) throws IOException { |