Class

roc.postgresql.server

PostgresqlMessage

Related Doc: package server

Permalink

sealed abstract class PostgresqlMessage extends AnyRef

Represents an error that occured on the Postgresql Server.

The value members here are possible fields that can be appear in an ErrorResponse or NoticeResponse. severity, code, detail are always present.

See also

http://www.postgresql.org/docs/current/static/errcodes-appendix.html

http://www.postgresql.org/docs/current/static/protocol-error-fields.html

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PostgresqlMessage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val code: String

    Permalink

    The SQLSTATE code for the error.

  7. val columnName: Option[String]

    Permalink

    The name of the column.

    The name of the column.

    If the error was associated with a specific table column, the name of the column. (Refer to the schema and table name fields to identify the table.)

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  8. val constraintName: Option[String]

    Permalink

    The name of the constraint.

    The name of the constraint.

    If the error was associated with a specific constraint, the name of the constraint. Refer to fields listed above for the associated table or domain. (For this purpose, indexes are treated as constraints, even if they weren't created with constraint syntax.)

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  9. val dataTypeName: Option[String]

    Permalink

    The name of the data type.

    The name of the data type.

    If the error was associated with a specific data type, the name of the data type. (Refer to the schema name field for the name of the data type's schema.)

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  10. val detail: Option[String]

    Permalink

    A secondary error message carrying more detail about the problem.

    A secondary error message carrying more detail about the problem.

    It is possible for this message to run multiple lines.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. val file: Option[String]

    Permalink

    The file name of the source-code location where the error was reported.

    The file name of the source-code location where the error was reported.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val hint: Option[String]

    Permalink

    A optional suggestion what to do about the problem.

    A optional suggestion what to do about the problem.

    This is intended to differ from Detail in that it offers advice (potentially inappropriate) rather than hard facts. Might run to multiple lines.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  18. val internalPosition: Option[String]

    Permalink

    Indicates an error cursor postion as an index of an internally generated command.

    Indicates an error cursor postion as an index of an internally generated command.

    This is defined the same as position, but it is used when the cursor position refers to an internally generated command rather than the one submitted by the client. The internalQuery field will always appear when this field appears.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  19. val internalQuery: Option[String]

    Permalink

    The text of a failed internally-generated command.

    The text of a failed internally-generated command.

    This could be, for example, a SQL query issued by a PL/pgSQL function.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val line: Option[String]

    Permalink

    The line number of the source-code location where the error was reported.

    The line number of the source-code location where the error was reported.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  22. val message: String

    Permalink

    The primary human-readable error message.

    The primary human-readable error message.

    This should be accurate but terse (typically one line).

    Note

    Always present.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val position: Option[String]

    Permalink

    Indicates an error cursor position as an index into the original query string.

    Indicates an error cursor position as an index into the original query string.

    The field value is a decimal ASCII integer, indicating an error cursor position as an index into the original query string. The first character has index 1, and positions are measured in characters not bytes.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  27. val routine: Option[String]

    Permalink

    The name of the source-code routine reporting the error.

    The name of the source-code routine reporting the error.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  28. val schemaName: Option[String]

    Permalink

    The name of the schema containing that object.

    The name of the schema containing that object.

    If the error was associated with a specific database object, the name of the schema containing that object, if any.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  29. val severity: String

    Permalink

    The severity of the Error or Notice

    The severity of the Error or Notice

    The field contents are ERROR, FATAL, or PANIC (in an error message), or WARNING, NOTICE, DEBUG, INFO, or LOG (in a notice message), or a localized translation of one of these.

    Note

    Always present.

    See also

    http://www.postgresql.org/docs/current/static/errcodes-appendix.html

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. val tableName: Option[String]

    Permalink

    The name of the table.

    The name of the table.

    If the error was associated with a specific table, the name of the table. (Refer to the schema name field for the name of the table's schema.)

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val where: Option[String]

    Permalink

    An indication of the context in which the error occurred.

    An indication of the context in which the error occurred.

    Presently this includes a call stack traceback of active procedural language functions and internally-generated queries. The trace is one entry per line, most recent first.

    See also

    http://www.postgresql.org/docs/current/static/protocol-error-fields.html

Inherited from AnyRef

Inherited from Any

Ungrouped