1 package de.spring.webservices.exceptions;
6 * This exception will be caught by de.spring.webservices.endpoints.MyCustomExceptionResolver
9 public class CustomBusinessException extends RuntimeException {
10 private final List<String> arguments;
12 public CustomBusinessException(List<String> arguments) {
14 this.arguments = arguments;
17 public CustomBusinessException(String message, List<String> arguments) {
20 this.arguments = arguments;
23 public CustomBusinessException(String message, Throwable cause, List<String> arguments) {
24 super(message, cause);
26 this.arguments = arguments;
29 public List<String> getArguments() {