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

Open map implemented

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-22 13:21:08 -03:00
parent 87ce7bb987
commit 0661b41cfd
31 changed files with 649 additions and 111 deletions

View File

@@ -21,7 +21,7 @@ package com.l2jserver.util.exception;
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class L2Exception extends Exception {
public abstract class L2Exception extends Exception {
/**
* Default Serial Version UID
*/
@@ -54,4 +54,15 @@ public class L2Exception extends Exception {
public L2Exception(Throwable cause) {
super(cause);
}
// /**
// * Each {@link L2Exception} has an {@link SystemMessage} attacked to it.
// It
// * is an <b><u>recommendation</u></b> of which message should be sent to
// the
// * client in case the exception is thrown.
// *
// * @return the recommended system message
// */
// public abstract SystemMessage getSystemMessage();
}

View File

@@ -116,6 +116,18 @@ public abstract class HtmlTemplate {
public void register(String name, String value) {
variables.put(name, value);
}
/**
* Register an variable for this template
*
* @param name
* the name
* @param value
* the value
*/
public void register(String name, int value) {
variables.put(name, Integer.toString(value));
}
/**
* Creates a new {@link Html} object using the {@link HtmlTemplate} provided