Package com.impossibl.postgres.protocol
Class Notice
- java.lang.Object
-
- com.impossibl.postgres.protocol.Notice
-
- All Implemented Interfaces:
Serializable
public class Notice extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
String
getColumn()
String
getConstraint()
String
getDatatype()
String
getDetail()
String
getFile()
String
getHint()
String
getLine()
String
getMessage()
String
getPosition()
String
getRoutine()
String
getSchema()
String
getSeverity()
String
getTable()
String
getWhere()
boolean
isError()
boolean
isSuccess()
boolean
isWarning()
void
setCode(String code)
void
setColumn(String column)
void
setConstraint(String constraint)
void
setDatatype(String datatype)
void
setDetail(String detail)
void
setFile(String file)
void
setHint(String hint)
void
setLine(String line)
void
setMessage(String message)
void
setPosition(String position)
void
setRoutine(String routine)
void
setSchema(String schema)
void
setSeverity(String severity)
void
setTable(String table)
void
setWhere(String where)
-
-
-
Field Detail
-
SUCCESS_CLASS
public static final String SUCCESS_CLASS
- See Also:
- Constant Field Values
-
WARNING_CLASS
public static final String WARNING_CLASS
- See Also:
- Constant Field Values
-
NO_DATA_CLASS
public static final String NO_DATA_CLASS
- See Also:
- Constant Field Values
-
STATEMENT_INCOMPLETE_CLASS
public static final String STATEMENT_INCOMPLETE_CLASS
- See Also:
- Constant Field Values
-
CONNECTION_EXC_CLASS
public static final String CONNECTION_EXC_CLASS
- See Also:
- Constant Field Values
-
TRIGGERED_ACTION_EXC_CLASS
public static final String TRIGGERED_ACTION_EXC_CLASS
- See Also:
- Constant Field Values
-
FEATURE_NOT_SUPPORTED_CLASS
public static final String FEATURE_NOT_SUPPORTED_CLASS
- See Also:
- Constant Field Values
-
INVALID_TXN_INIT_CLASS
public static final String INVALID_TXN_INIT_CLASS
- See Also:
- Constant Field Values
-
LOCATOR_EXC_CLASS
public static final String LOCATOR_EXC_CLASS
- See Also:
- Constant Field Values
-
INVALID_GRANTOR_CLASS
public static final String INVALID_GRANTOR_CLASS
- See Also:
- Constant Field Values
-
INVALID_ROLE_SPEC_CLASS
public static final String INVALID_ROLE_SPEC_CLASS
- See Also:
- Constant Field Values
-
DIAGNOSTICS_EXC_CLASS
public static final String DIAGNOSTICS_EXC_CLASS
- See Also:
- Constant Field Values
-
CASE_NOT_FOUNC_CLASS
public static final String CASE_NOT_FOUNC_CLASS
- See Also:
- Constant Field Values
-
CARDINALITY_VIOL_CLASS
public static final String CARDINALITY_VIOL_CLASS
- See Also:
- Constant Field Values
-
DATA_EXC_CLASS
public static final String DATA_EXC_CLASS
- See Also:
- Constant Field Values
-
INTEGRITY_CONST_VIOL_CLASS
public static final String INTEGRITY_CONST_VIOL_CLASS
- See Also:
- Constant Field Values
-
INVALID_CURSOR_STATE_CLASS
public static final String INVALID_CURSOR_STATE_CLASS
- See Also:
- Constant Field Values
-
INVALID_TXN_STATE_CLASS
public static final String INVALID_TXN_STATE_CLASS
- See Also:
- Constant Field Values
-
INVALID_STATEMENT_NAME_CLASS
public static final String INVALID_STATEMENT_NAME_CLASS
- See Also:
- Constant Field Values
-
TRIGGERED_DATA_CHANGE_VIOL_CLASS
public static final String TRIGGERED_DATA_CHANGE_VIOL_CLASS
- See Also:
- Constant Field Values
-
INVALID_AUTHZN_SPEC_CLASS
public static final String INVALID_AUTHZN_SPEC_CLASS
- See Also:
- Constant Field Values
-
DEP_DESCRIPTOR_EXISTS_CLASS
public static final String DEP_DESCRIPTOR_EXISTS_CLASS
- See Also:
- Constant Field Values
-
INVALID_TXN_TERM_CLASS
public static final String INVALID_TXN_TERM_CLASS
- See Also:
- Constant Field Values
-
SQL_ROUTINE_EXC_CLASS
public static final String SQL_ROUTINE_EXC_CLASS
- See Also:
- Constant Field Values
-
INVALID_CURSOR_NAME_CLASS
public static final String INVALID_CURSOR_NAME_CLASS
- See Also:
- Constant Field Values
-
EXT_ROUTINE_EXC_CLASS
public static final String EXT_ROUTINE_EXC_CLASS
- See Also:
- Constant Field Values
-
EXT_ROUTINE_INV_EXC_CLASS
public static final String EXT_ROUTINE_INV_EXC_CLASS
- See Also:
- Constant Field Values
-
SAVEPOINT_EXC_CLASS
public static final String SAVEPOINT_EXC_CLASS
- See Also:
- Constant Field Values
-
INVALID_CATALOG_NAME_CLASS
public static final String INVALID_CATALOG_NAME_CLASS
- See Also:
- Constant Field Values
-
INVALID_SCHEMA_NAME_CLASS
public static final String INVALID_SCHEMA_NAME_CLASS
- See Also:
- Constant Field Values
-
TRANSACTION_ROLLBACK_CLASS
public static final String TRANSACTION_ROLLBACK_CLASS
- See Also:
- Constant Field Values
-
SYNTAX_OR_ACCESS_ERROR_CLASS
public static final String SYNTAX_OR_ACCESS_ERROR_CLASS
- See Also:
- Constant Field Values
-
CHECK_VIOL_CLASS
public static final String CHECK_VIOL_CLASS
- See Also:
- Constant Field Values
-
INSUFFICIENT_RESOURCES_CLASS
public static final String INSUFFICIENT_RESOURCES_CLASS
- See Also:
- Constant Field Values
-
PROGRAM_LIMIT_EXCEEDED_CLASS
public static final String PROGRAM_LIMIT_EXCEEDED_CLASS
- See Also:
- Constant Field Values
-
OBJECT_PREREQ_STATE__CLASS
public static final String OBJECT_PREREQ_STATE__CLASS
- See Also:
- Constant Field Values
-
OPERATOR_INTERVENTION_CLASS
public static final String OPERATOR_INTERVENTION_CLASS
- See Also:
- Constant Field Values
-
SYSTEM_ERROR_CLASS
public static final String SYSTEM_ERROR_CLASS
- See Also:
- Constant Field Values
-
CONFIG_ERROR_CLASS
public static final String CONFIG_ERROR_CLASS
- See Also:
- Constant Field Values
-
FOREIGN_DATA_EXC_CLASS
public static final String FOREIGN_DATA_EXC_CLASS
- See Also:
- Constant Field Values
-
PL_PGSQL_CLASS
public static final String PL_PGSQL_CLASS
- See Also:
- Constant Field Values
-
INTERNAL_ERROR_CLASS
public static final String INTERNAL_ERROR_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
isWarning
public boolean isWarning()
-
isError
public boolean isError()
-
getSeverity
public String getSeverity()
-
setSeverity
public void setSeverity(String severity)
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getDetail
public String getDetail()
-
setDetail
public void setDetail(String detail)
-
getHint
public String getHint()
-
setHint
public void setHint(String hint)
-
getPosition
public String getPosition()
-
setPosition
public void setPosition(String position)
-
getWhere
public String getWhere()
-
setWhere
public void setWhere(String where)
-
getRoutine
public String getRoutine()
-
setRoutine
public void setRoutine(String routine)
-
getFile
public String getFile()
-
setFile
public void setFile(String file)
-
getLine
public String getLine()
-
setLine
public void setLine(String line)
-
getSchema
public String getSchema()
-
setSchema
public void setSchema(String schema)
-
getTable
public String getTable()
-
setTable
public void setTable(String table)
-
getColumn
public String getColumn()
-
setColumn
public void setColumn(String column)
-
getDatatype
public String getDatatype()
-
setDatatype
public void setDatatype(String datatype)
-
getConstraint
public String getConstraint()
-
setConstraint
public void setConstraint(String constraint)
-
-