106107108109110111112113114
violation.getInvalidValue().toString(), violation .getRootBeanClass().getSimpleName())); } if (!errors.isEmpty()) { LOGGER.debug(errors); throw new SampleException(errors, HttpStatus.BAD_REQUEST); } }
138139140141142143144
/** * */ public static void methodWithException() throws Exception { throw new SampleException("sample"); }
152153154155156157158
151152153154155156157