com.caucho.quercus.env
Class QuercusLanguageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caucho.quercus.QuercusException
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
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 |
QuercusLanguageException
protected QuercusLanguageException(Env env)
QuercusLanguageException
public QuercusLanguageException(Value value)
toException
public Value toException(Env env)
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.
getLine
public int getLine(Env env)
getFile
public java.lang.String getFile(Env env)
getTrace
public ArrayValue getTrace(Env env)