com.caucho.quercus.lib.db
Class PDOException

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
                      extended by com.caucho.quercus.lib.db.PDOException
All Implemented Interfaces:
java.io.Serializable

public class PDOException
extends QuercusLanguageException

See Also:
Serialized Form

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

PDOException

public PDOException(java.lang.String code,
                    java.lang.String message)
Method Detail

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