org.apache.velocity.test.misc
Class UberspectTestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.velocity.test.misc.UberspectTestException
All Implemented Interfaces:
Serializable

public class UberspectTestException
extends RuntimeException

Exception that returns an Info object for testing after a introspection problem. This extends Error so that it will stop parsing and allow internal info to be examined.

Version:
$Id: UberspectTestException.java 463298 2006-10-12 16:10:32Z henning $
Author:
Will Glass-Husain, Llewellyn Falco
See Also:
Serialized Form

Constructor Summary
UberspectTestException(String message, org.apache.velocity.util.introspection.Info i)
           
 
Method Summary
 org.apache.velocity.util.introspection.Info getInfo()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UberspectTestException

public UberspectTestException(String message,
                              org.apache.velocity.util.introspection.Info i)
Method Detail

getInfo

public org.apache.velocity.util.introspection.Info getInfo()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.