From da61619c894a45e7e585f76aa332958cf8df1105 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 6 Oct 2014 09:36:04 +0200 Subject: [PATCH] some missing exception bits --- pq/COPY/__construct.md | 6 ++++++ pq/COPY/get.md | 2 +- pq/Connection/on.md | 1 + pq/Cursor/close.md | 3 +++ pq/Result/count.md | 2 ++ pq/Result/desc.md | 2 +- pq/Result/map.md | 6 ++++++ 7 files changed, 20 insertions(+), 2 deletions(-) diff --git a/pq/COPY/__construct.md b/pq/COPY/__construct.md index 356dd6e..b431eff 100644 --- a/pq/COPY/__construct.md +++ b/pq/COPY/__construct.md @@ -12,3 +12,9 @@ Start a COPY operation. Data direction (pq\COPY::FROM_STDIN or pq\COPY::TO_STDOUT). * Optional string $options = NULL Any COPY options (see the [official PostgreSQL documentaion](http://www.postgresql.org/docs/current/static/sql-copy.html) for details. + +## Throws: + +* pq\Exception\InvalidArgumentException +* pq\Exception\BadMethodCallException +* pq\Exception\RuntimeException diff --git a/pq/COPY/get.md b/pq/COPY/get.md index 3852039..4e36d04 100644 --- a/pq/COPY/get.md +++ b/pq/COPY/get.md @@ -14,5 +14,5 @@ Receive data from the server during pq\Result::COPY_OUT state. ## Throws: * pq\Exception\InvalidArgumentException -* pq\Exception\BadMethodCallExceptin +* pq\Exception\BadMethodCallException * pq\Exception\RuntimeException diff --git a/pq/Connection/on.md b/pq/Connection/on.md index cda9738..e12aae4 100644 --- a/pq/Connection/on.md +++ b/pq/Connection/on.md @@ -16,6 +16,7 @@ Listen for an event. ## Throws: * pq\Exception\InvalidArgumentException +* pq\Exception\BadMethodCallException ## Example: diff --git a/pq/Cursor/close.md b/pq/Cursor/close.md index 6566120..825a551 100644 --- a/pq/Cursor/close.md +++ b/pq/Cursor/close.md @@ -9,3 +9,6 @@ None. ## Throws: +* pq\Exception\InvalidArgumentException +* pq\Exception\BadMethodCallException +* pq\Exception\RuntimeException diff --git a/pq/Result/count.md b/pq/Result/count.md index a6f25a9..59fd425 100644 --- a/pq/Result/count.md +++ b/pq/Result/count.md @@ -12,5 +12,7 @@ None. ## Throws: +* pq\Exception\InvalidArgumentException * pq\Exception\BadMethodCallException + diff --git a/pq/Result/desc.md b/pq/Result/desc.md index 3aa81b2..d80586e 100644 --- a/pq/Result/desc.md +++ b/pq/Result/desc.md @@ -15,9 +15,9 @@ None. ## Throws: +* pq\Exception\InvalidArgumentException * pq\Exception\BadMethodCallException - ## Example: