-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #501 from softwaremagico/498-when-creating-the-sen…
…butsu-fights-using-the-wizard-the-button-order-by-ranking-is-hidden Adding update instructions for database
- Loading branch information
Showing
4 changed files
with
106 additions
and
10 deletions.
There are no files selected for viewing
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
40 changes: 40 additions & 0 deletions
40
...rc/main/java/com/softwaremagico/kt/core/exceptions/SenbatsuTournamentFightsException.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package com.softwaremagico.kt.core.exceptions; | ||
|
||
/*- | ||
* #%L | ||
* Kendo Tournament Manager (Core) | ||
* %% | ||
* Copyright (C) 2021 - 2024 Softwaremagico | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* #L% | ||
*/ | ||
|
||
import com.softwaremagico.kt.logger.ExceptionType; | ||
import com.softwaremagico.kt.logger.LoggedException; | ||
import org.springframework.http.HttpStatus; | ||
import org.springframework.web.bind.annotation.ResponseStatus; | ||
|
||
@ResponseStatus(HttpStatus.BAD_REQUEST) | ||
public class SenbatsuTournamentFightsException extends LoggedException { | ||
private static final long serialVersionUID = -1399325226733756592L; | ||
|
||
public SenbatsuTournamentFightsException(Class<?> clazz, String message) { | ||
super(clazz, message, ExceptionType.SEVERE, HttpStatus.BAD_REQUEST); | ||
} | ||
|
||
public SenbatsuTournamentFightsException(Class<?> clazz, String message, ExceptionType exceptionType) { | ||
super(clazz, message, exceptionType, HttpStatus.BAD_REQUEST); | ||
} | ||
} |
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
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