gecko-dev/js/js2/java/JSException.java
1999-05-26 01:01:07 +00:00

22 lines
285 B
Java

class JSException extends RuntimeException {
JSException(JSValue x)
{
value = x;
}
JSValue getValue()
{
return value;
}
public String toString()
{
return value.toJSString(null).s;
}
JSValue value;
}