|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.game.AppiusClaudiusCaecus
public class BraqueGame
| Field Summary | |
|---|---|
static int |
DELAY_MS
The delay before the first run of the NPC manager task. |
static int |
PERIOD_MS
The time to wait before repeating the NPC manager task. |
private static long |
serialVersionUID
The version of the serialized form of this class. |
| Constructor Summary | |
|---|---|
BraqueGame()
constructor |
|
| Method Summary | |
|---|---|
static Error |
fatalBug(Exception e)
The exception passed in will be reported, as per reportBug, and then re-thrown as an Error, killing the process responsible |
static void |
logEvent(String verb,
String zoneName,
String userName,
String targetName,
HashMap<String,String> details)
Record an event to the journal |
static void |
reportBug(Exception e)
|
static void |
reportBug(String string)
Report a bug. |
static void |
reportBug(String reason,
Throwable throwable)
Report a bug to the automatic bug-tracking systems. |
static void |
reportClientBug(String string)
TODO: document this method (brpocock, Sep 2, 2009) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DELAY_MS
public static final int PERIOD_MS
private static final long serialVersionUID
| Constructor Detail |
|---|
public BraqueGame()
| Method Detail |
|---|
public static Error fatalBug(Exception e)
e - An exception to report
Error - (based upon the exception) every time
public static void logEvent(String verb,
String zoneName,
String userName,
String targetName,
HashMap<String,String> details)
verb - The verb describing the eventzoneName - The zone in which it occureduserName - The user causing the actiontargetName - The target of the action, if anydetails - Additional detailspublic static void reportBug(Exception e)
e - An exception to reportpublic static void reportBug(String string)
Report a bug.
This is used to catch either ‘impossible things’ or things that are so bad that immediate programmer intervention is needed.
Bug reports should eventually be funneled into the bug-tracking system or similar automatically, and forwarded to the systems programmers via eMail and SMS.
string - Bug report
public static void reportBug(String reason,
Throwable throwable)
reason - The reason this is a bug, if known.throwable - The "impossible" exception.public static void reportClientBug(String string)
string -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||