/* * This file is part of vospace-parent-classes * Copyright (C) 2021 Istituto Nazionale di Astrofisica * SPDX-License-Identifier: GPL-3.0-or-later */ package it.inaf.oats.vospace.exception; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.BAD_REQUEST) public class InvalidArgumentException extends VoSpaceErrorSummarizableException { public InvalidArgumentException(String message) { super("Description: " + message, VOSpaceFaultEnum.INVALID_ARGUMENT); } }