1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-08 08:23:11 +00:00

Service exceptions externalized and better logging configuration

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-21 22:41:27 -03:00
parent ab38e7d5ba
commit b3ff0795ec
44 changed files with 559 additions and 215 deletions

View File

@@ -1,40 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver 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.
*
* l2jserver 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 l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.util.exception;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class L2CharacterServiceException extends L2ServiceException {
private static final long serialVersionUID = 1L;
public L2CharacterServiceException() {
super();
}
public L2CharacterServiceException(String message, Throwable cause) {
super(message, cause);
}
public L2CharacterServiceException(String message) {
super(message);
}
public L2CharacterServiceException(Throwable cause) {
super(cause);
}
}

View File

@@ -1,40 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver 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.
*
* l2jserver 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 l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.util.exception;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class L2ChatServiceException extends L2ServiceException {
private static final long serialVersionUID = 1L;
public L2ChatServiceException() {
super();
}
public L2ChatServiceException(String message, Throwable cause) {
super(message, cause);
}
public L2ChatServiceException(String message) {
super(message);
}
public L2ChatServiceException(Throwable cause) {
super(cause);
}
}

View File

@@ -1,57 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver 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.
*
* l2jserver 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 l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.util.exception;
/**
* Base exception for Lineage 2
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class L2ServiceException extends Exception {
/**
* Default Serial Version UID
*/
private static final long serialVersionUID = 1L;
/**
* @see Exception#Exception()
*/
public L2ServiceException() {
super();
}
/**
* @see Exception#Exception(String, Throwable)
*/
public L2ServiceException(String message, Throwable cause) {
super(message, cause);
}
/**
* @see Exception#Exception(String)
*/
public L2ServiceException(String message) {
super(message);
}
/**
* @see Exception#Exception(Throwable)
*/
public L2ServiceException(Throwable cause) {
super(cause);
}
}

View File

@@ -1,40 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver 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.
*
* l2jserver 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 l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.util.exception;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class L2SpawnServiceException extends L2ServiceException {
private static final long serialVersionUID = 1L;
public L2SpawnServiceException() {
super();
}
public L2SpawnServiceException(String message, Throwable cause) {
super(message, cause);
}
public L2SpawnServiceException(String message) {
super(message);
}
public L2SpawnServiceException(Throwable cause) {
super(cause);
}
}