antlr
Class Utils

java.lang.Object
  extended by antlr.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static Object createInstanceOf(String name)
           
static void error(String message)
           
static void error(String message, Throwable t)
           
static Class loadClass(String name)
          Thanks to Max Andersen at JBOSS and Scott Stanchfield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

loadClass

public static Class loadClass(String name)
                       throws ClassNotFoundException
Thanks to Max Andersen at JBOSS and Scott Stanchfield

Throws:
ClassNotFoundException

createInstanceOf

public static Object createInstanceOf(String name)
                               throws ClassNotFoundException,
                                      InstantiationException,
                                      IllegalAccessException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

error

public static void error(String message)

error

public static void error(String message,
                         Throwable t)