java.lang.Object
java.lang.VMThrowable
- final class VMThrowable
- extends Object
VM dependant state and support methods for Throwable.
It is deliberately package local and final and should only be accessed
by the Throwable class.
This is the GNU Classpath reference implementation, it should be adapted
for a specific VM. The reference implementation does nothing.
|
Constructor Summary |
private |
VMThrowable()
Private contructor, create VMThrowables with fillInStackTrace(); |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vmdata
private transient Object vmdata
- VM private data.
VMThrowable
private VMThrowable()
- Private contructor, create VMThrowables with fillInStackTrace();
fillInStackTrace
static VMThrowable fillInStackTrace(Throwable t)
- Fill in the stack trace with the current execution stack.
Called by
Throwable.fillInStackTrace() to get the state of
the VM. Can return null when the VM does not support caputing the VM
execution state.
getStackTrace
StackTraceElement[] getStackTrace(Throwable t)
- Returns an
StackTraceElement array based on the execution
state of the VM as captured by fillInStackTrace.
Called by Throwable.getStackTrace().