public class ServerErrorMessage extends Object implements Serializable
Constructor and Description |
---|
ServerErrorMessage(EncodingPredictor.DecodeResult serverError) |
ServerErrorMessage(String serverError) |
Modifier and Type | Method and Description |
---|---|
String |
getColumn() |
String |
getConstraint() |
String |
getDatatype() |
String |
getDetail() |
String |
getFile() |
String |
getHint() |
int |
getInternalPosition() |
String |
getInternalQuery() |
int |
getLine() |
String |
getMessage() |
int |
getPosition() |
String |
getRoutine() |
String |
getSchema() |
String |
getSeverity() |
String |
getSQLState() |
String |
getTable() |
String |
getWhere() |
String |
toString()
Returns a string representation of the object.
|
public ServerErrorMessage(EncodingPredictor.DecodeResult serverError)
public ServerErrorMessage(String serverError)
public String getSQLState()
public String getMessage()
public String getSeverity()
public String getDetail()
public String getHint()
public int getPosition()
public String getWhere()
public String getSchema()
public String getTable()
public String getColumn()
public String getDatatype()
public String getConstraint()
public String getFile()
public int getLine()
public String getRoutine()
public String getInternalQuery()
public int getInternalPosition()
public String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
Copyright © 2019 PostgreSQL Global Development Group. All rights reserved.