Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.lang
Class VMThrowable  view VMThrowable download VMThrowable.java

java.lang.Object
  extended byjava.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.


Field Summary
private  Object vmdata
          VM private data.
 
Constructor Summary
private VMThrowable()
          Private contructor, create VMThrowables with fillInStackTrace();
 
Method Summary
(package private) static VMThrowable fillInStackTrace(Throwable t)
          Fill in the stack trace with the current execution stack.
(package private)  StackTraceElement[] getStackTrace(Throwable t)
          Returns an StackTraceElement array based on the execution state of the VM as captured by fillInStackTrace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vmdata

private transient Object vmdata
VM private data.

Constructor Detail

VMThrowable

private VMThrowable()
Private contructor, create VMThrowables with fillInStackTrace();

Method Detail

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().