|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.starhope.appius.except.GameLogicException
public class GameLogicException
An exception which can be thrown in the database code, that reflects something that's less of a data-consistency error, and more of a game logic issue.
Field Summary | |
---|---|
private Object |
myObj
WRITEME |
private Object |
myOther
WRITEME |
private String |
myString
WRITEME |
private static long |
serialVersionUID
WRITEME |
Constructor Summary | |
---|---|
GameLogicException(String string,
Object obj,
Object other)
|
Method Summary | |
---|---|
String |
getMessage()
|
org.json.JSONObject |
toJSON()
This returns a copy of the object's data cast into a JSON form. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final Object myObj
private final Object myOther
private final String myString
Constructor Detail |
---|
public GameLogicException(String string, Object obj, Object other)
string
- WRITEMEobj
- WRITEMEother
- WRITEMEMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
Throwable.getMessage()
public org.json.JSONObject toJSON()
CastsToJSON
toJSON
in interface CastsToJSON
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |