mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-27 14:13:11 +02:00
Have a RegistryException super class.
This commit is contained in:
parent
672c6cf71f
commit
2ff5415601
@ -15,18 +15,15 @@
|
||||
package fr.neatmonster.nocheatplus.components.registry.exception;
|
||||
|
||||
/**
|
||||
* A registration item has been locked versus changes, but was attempted to be
|
||||
* changed.
|
||||
* A registry or a registration item has been locked against changes, but was
|
||||
* attempted to be changed.
|
||||
*
|
||||
* @author asofold
|
||||
*
|
||||
*/
|
||||
public class RegistrationLockedException extends RuntimeException {
|
||||
public class RegistrationLockedException extends RegistryException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -7278363049512687206L;
|
||||
private static final long serialVersionUID = 3562696047219049040L;
|
||||
|
||||
public RegistrationLockedException() {
|
||||
super();
|
||||
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package fr.neatmonster.nocheatplus.components.registry.exception;
|
||||
|
||||
/**
|
||||
* Registry related exception.
|
||||
*
|
||||
* @author asofold
|
||||
*
|
||||
*/
|
||||
public class RegistryException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 5032539935257628503L;
|
||||
|
||||
public RegistryException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public RegistryException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
public RegistryException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public RegistryException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public RegistryException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user