|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.pljava.internal.JavaWrapper
org.postgresql.pljava.internal.ErrorData
public class ErrorData
The ErrorData
correspons to the ErrorData obtained
using an internal PostgreSQL CopyErrorData
call.
Method Summary | |
---|---|
protected void |
_free(long pointer)
Calls the C function pfree() with the given pointer as an argument. |
java.lang.String |
getContextMessage()
Returns the context message |
int |
getCursorPos()
Returns the cursor index into the query string |
java.lang.String |
getDetail()
Returns the detailed error message |
int |
getErrorLevel()
Returns The error level |
java.lang.String |
getFilename()
Returns The file where the error occured |
java.lang.String |
getFuncname()
Returns the name of the function where the error occured |
java.lang.String |
getHint()
Returns the hint message |
int |
getInternalPos()
Returns the cursor index into internal query |
java.lang.String |
getInternalQuery()
Returns the internally-generated query |
int |
getLineno()
Returns The line where the error occured |
java.lang.String |
getMessage()
Returns the primary error message |
int |
getSavedErrno()
Returns the errno at entry |
java.lang.String |
getSqlState()
Returns the unencoded ERRSTATE |
boolean |
isOutputToClient()
Returns true if the error will be reported to the client |
boolean |
isOutputToServer()
Returns true if the error will be reported to the server log |
boolean |
isShowFuncname()
Returns true if funcname inclusion is set |
Methods inherited from class org.postgresql.pljava.internal.JavaWrapper |
---|
finalize, getNativePointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getErrorLevel()
public boolean isOutputToServer()
public boolean isOutputToClient()
public boolean isShowFuncname()
public java.lang.String getFilename()
public int getLineno()
public java.lang.String getFuncname()
public java.lang.String getSqlState()
public java.lang.String getMessage()
public java.lang.String getDetail()
public java.lang.String getHint()
public java.lang.String getContextMessage()
public int getCursorPos()
public int getInternalPos()
public java.lang.String getInternalQuery()
public int getSavedErrno()
protected void _free(long pointer)
JavaWrapper
_free
in class JavaWrapper
pointer
- The pointer to free.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |