|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.db.PDOError
public class PDOError
Constructor Summary | |
---|---|
PDOError()
|
Method Summary | |
---|---|
void |
clear()
Clear the error if there is one. |
void |
error(Env env,
java.lang.Throwable exception)
Save an error for subsequent calls to #errorCode and #errorInfo ,
and depending on the value of setErrmode(com.caucho.quercus.env.Env, int)
show nothing, show a warning, or throw an exception. |
int |
getErrmode()
|
java.lang.String |
getErrorCode()
|
ArrayValue |
getErrorInfo()
|
boolean |
isError()
|
void |
notice(Env env,
java.lang.String message)
Show a notice and return a "HY000" general error for subsequent calls to #errorCode and #errorInfo . |
boolean |
setErrmode(Env env,
int value)
Set's the error mode. |
void |
unsupportedAttribute(Env env,
int attribute)
|
void |
unsupportedAttributeValue(Env env,
java.lang.Object value)
|
void |
warning(Env env,
java.lang.String message)
Show a warning and return a "HY000" general error for subsequent calls to #errorCode and #errorInfo . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDOError()
Method Detail |
---|
public void clear()
public void error(Env env, java.lang.Throwable exception)
#errorCode
and #errorInfo
,
and depending on the value of setErrmode(com.caucho.quercus.env.Env, int)
show nothing, show a warning, or throw an exception.
public java.lang.String getErrorCode()
public ArrayValue getErrorInfo()
public int getErrmode()
public boolean isError()
public void notice(Env env, java.lang.String message)
#errorCode
and #errorInfo
.
public boolean setErrmode(Env env, int value)
ERRMODE_SILENT
ERRMODE_WARNING
ERRMODE_EXCEPTION
public void warning(Env env, java.lang.String message)
#errorCode
and #errorInfo
.
public void unsupportedAttribute(Env env, int attribute)
public void unsupportedAttributeValue(Env env, java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |