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

@@ -23,7 +23,6 @@ import com.l2jserver.service.Service;
import com.l2jserver.service.game.chat.channel.ChatChannel;
import com.l2jserver.service.game.chat.channel.PrivateChatChannel;
import com.l2jserver.service.game.chat.channel.PublicChatChannel;
import com.l2jserver.util.exception.L2ChatServiceException;
/**
* This service chatting in the server
@@ -107,37 +106,4 @@ public interface ChatService extends Service {
* @return the public clan {@link ChatChannel}
*/
PublicChatChannel getChannel(ClanID clan);
// TODO party chat
/**
* Exception thrown when the target of an private chat is not found
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class TargetNotFoundChatServiceException extends
L2ChatServiceException {
private static final long serialVersionUID = 1L;
}
/**
* Exception thrown if the player is trying to chat with itself.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class CannotChatToSelfChatServiceException extends
L2ChatServiceException {
private static final long serialVersionUID = 1L;
}
/**
* Exception thrown if the player trying to send a message is currently
* banned.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class ChatBanActiveChatServiceException extends
L2ChatServiceException {
private static final long serialVersionUID = 1L;
}
}