|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.utah.janosvm.sys.VMInstance
Functions specific to the VM as a whole.
Constructor Summary | |
private |
VMInstance()
This is a static only object. |
Method Summary | |
static void |
crash()
Crash into the team boundary, this is basically a violent exit from a visit and results in a DeadTeamException being thrown in the previous team context. |
static java.lang.String |
getName()
Get the name of this VM instance. |
static void |
panic(java.lang.String msg)
|
static void |
panic(java.lang.String msg,
java.lang.Throwable th)
|
static void |
print(java.lang.String s)
Print a message to the VM's console. |
static void |
println(java.lang.String s)
Print a message to the VM's console. |
static void |
println(java.lang.Throwable th)
Print a message to the VM's console. |
static void |
shutdown()
Shutdown the VM. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait, wait0 |
Constructor Detail |
private VMInstance()
Method Detail |
public static void crash()
public static void panic(java.lang.String msg)
public static void panic(java.lang.String msg, java.lang.Throwable th)
public static void println(java.lang.String s)
public static void println(java.lang.Throwable th)
public static void print(java.lang.String s)
public static void shutdown()
public static java.lang.String getName()
|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |