50 |
final class VMThrowable |
final class VMThrowable |
51 |
{ |
{ |
52 |
/** |
/** |
53 |
|
* VM private data. |
54 |
|
*/ |
55 |
|
private transient Object vmdata; |
56 |
|
|
57 |
|
/** |
58 |
* Private contructor, create VMThrowables with fillInStackTrace(); |
* Private contructor, create VMThrowables with fillInStackTrace(); |
59 |
*/ |
*/ |
60 |
private VMThrowable() { } |
private VMThrowable() { } |
68 |
* @return a new VMThrowable containing the current execution stack trace. |
* @return a new VMThrowable containing the current execution stack trace. |
69 |
* @see Throwable#fillInStackTrace() |
* @see Throwable#fillInStackTrace() |
70 |
*/ |
*/ |
71 |
static VMThrowable fillInStackTrace(Throwable t) |
static native VMThrowable fillInStackTrace(Throwable t); |
|
{ |
|
|
return null; |
|
|
} |
|
72 |
|
|
73 |
/** |
/** |
74 |
* Returns an <code>StackTraceElement</code> array based on the execution |
* Returns an <code>StackTraceElement</code> array based on the execution |
78 |
* @return a non-null but possible zero length array of StackTraceElement. |
* @return a non-null but possible zero length array of StackTraceElement. |
79 |
* @see Throwable#getStackTrace() |
* @see Throwable#getStackTrace() |
80 |
*/ |
*/ |
81 |
StackTraceElement[] getStackTrace(Throwable t) |
native StackTraceElement[] getStackTrace(Throwable t); |
|
{ |
|
|
return new StackTraceElement[0]; |
|
|
} |
|
82 |
} |
} |