A short license notice has been added to each file

This commit is contained in:
Emrullah Enis Çetinkaya 2025-04-18 12:18:18 +03:00
parent fd9cd0f6ef
commit d23f3b79e4
2 changed files with 36 additions and 0 deletions

View file

@ -1,4 +1,22 @@
/* License
This project is licensed under the GNU General Public License v3.0.
Copyright (c) 2025 Enis Çetinkaya
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
public class InvalidAgeException extends Exception {
public InvalidAgeException(String messageString) {

View file

@ -1,4 +1,22 @@
/* License
This project is licensed under the GNU General Public License v3.0.
Copyright (c) 2025 Enis Çetinkaya
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import java.util.Scanner;
public class Main {