jsint
Class E

java.lang.Object
  extended byjsint.E

public class E
extends java.lang.Object

Error routines.


Constructor Summary
E()
           
 
Method Summary
static java.lang.Object error(java.lang.String message)
           
static java.lang.Object error(java.lang.String message, java.lang.Object x)
          Throw an error message with an associated object.
static java.lang.String shortStringify(java.lang.Object x)
          It's nice to get an error, but not one large enough to choke EMACS.
static java.lang.Object typeError(java.lang.String type, java.lang.Object x)
          Call error, complaining that we got the wrong type.
static java.lang.Object warn(java.lang.String message)
          Print a warning.
static java.lang.Object warn(java.lang.String message, java.lang.Object x)
          Print a warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

E

public E()
Method Detail

error

public static java.lang.Object error(java.lang.String message,
                                     java.lang.Object x)
Throw an error message with an associated object.


error

public static java.lang.Object error(java.lang.String message)

typeError

public static java.lang.Object typeError(java.lang.String type,
                                         java.lang.Object x)
Call error, complaining that we got the wrong type.


warn

public static java.lang.Object warn(java.lang.String message)
Print a warning.


warn

public static java.lang.Object warn(java.lang.String message,
                                    java.lang.Object x)
Print a warning.


shortStringify

public static java.lang.String shortStringify(java.lang.Object x)
It's nice to get an error, but not one large enough to choke EMACS.