com.caucho.quercus.lib.db
Class PDOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caucho.quercus.QuercusException
com.caucho.quercus.env.QuercusLanguageException
com.caucho.quercus.lib.db.PDOException
- All Implemented Interfaces:
- java.io.Serializable
public class PDOException
- extends QuercusLanguageException
- See Also:
- Serialized Form
Constructor Summary |
PDOException(Env env,
java.lang.String code,
java.lang.String message)
|
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 |
PDOException
public PDOException(Env env,
java.lang.String code,
java.lang.String message)
getCode
public java.lang.String getCode()
getLocation
public Location getLocation(Env env)
- Description copied from class:
QuercusLanguageException
- Returns the location of this PHP exception.
- Overrides:
getLocation
in class QuercusLanguageException
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class QuercusException
getMessage
public java.lang.String getMessage(Env env)
- Overrides:
getMessage
in class QuercusLanguageException
toValue
public Value toValue(Env env)
- Converts the exception to a Value.
- Overrides:
toValue
in class QuercusLanguageException