public IllegalArgumentException unsupportedInputParameter(Class<?> parameterClass) {
return new IllegalArgumentException(exceptionMessage("003", "Unsupported input of type '{}'", parameterClass.getName()));
}
public SpinFileNotFoundException fileNotFoundException(String filename, Throwable cause) {
return new SpinFileNotFoundException(exceptionMessage("004", "Unable to find file with path '{}'", filename), cause);
}