| @@ 132-140 (lines=9) @@ | ||
| 129 | * {@inheritdoc} |
|
| 130 | * @see \Generics\Resettable::reset() |
|
| 131 | */ |
|
| 132 | public function reset() |
|
| 133 | { |
|
| 134 | try { |
|
| 135 | $this->close(); |
|
| 136 | $this->open(); |
|
| 137 | } catch (Exception $ex) { |
|
| 138 | throw new ResetException($ex->getMessage(), array(), $ex->getCode(), $ex); |
|
| 139 | } |
|
| 140 | } |
|
| 141 | ||
| 142 | /** |
|
| 143 | * |
|
| @@ 241-249 (lines=9) @@ | ||
| 238 | * {@inheritdoc} |
|
| 239 | * @see \Generics\Resettable::reset() |
|
| 240 | */ |
|
| 241 | public function reset() |
|
| 242 | { |
|
| 243 | try { |
|
| 244 | $this->close(); |
|
| 245 | $this->open(); |
|
| 246 | } catch (Exception $ex) { |
|
| 247 | throw new ResetException($ex->getMessage(), array(), $ex->getCode(), $ex); |
|
| 248 | } |
|
| 249 | } |
|
| 250 | } |
|
| 251 | ||