com.caucho.quercus.env
Class QuercusLanguageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.caucho.quercus.QuercusException
                  extended by com.caucho.quercus.env.QuercusLanguageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DOMException, PDOException, ReflectionException

public class QuercusLanguageException
extends QuercusException

Parent of PHP exceptions

See Also:
Serialized Form

Constructor Summary
protected QuercusLanguageException()
           
  QuercusLanguageException(Value value)
           
 
Method Summary
 Location getLocation(Env env)
          Returns the location of this PHP exception.
 java.lang.String getMessage(Env env)
           
 Value getValue()
          Returns the value.
 Value toValue(Env env)
          Converts the exception to a Value.
 
Methods inherited from class com.caucho.quercus.QuercusException
__toString, create, getMessage, getQuercusStackTrace, setQuercusStackTrace
 
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

QuercusLanguageException

protected QuercusLanguageException()

QuercusLanguageException

public QuercusLanguageException(Value value)
Method Detail

getValue

public Value getValue()
Returns the value.


toValue

public Value toValue(Env env)
Converts the exception to a Value.


getMessage

public java.lang.String getMessage(Env env)

getLocation

public Location getLocation(Env env)
Returns the location of this PHP exception.