Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Promise/
H A DThrowPromise.php27 private $exception; variable in Prophecy\\Promise\\ThrowPromise
41 public function __construct($exception) argument
43 if (is_string($exception)) {
44 if (!class_exists($exception) || !$this->isAValidThrowable($exception)) {
47 $exception
50 } elseif (!$exception instanceof \Exception && !$exception instanceof \Throwable) {
53 is_object($exception) ? get_class($exception) : gettype($exception)
57 $this->exception = $exception;
87 throw $this->exception;
91 * @param string $exception
[all …]
/plugin/findologicxmlexport/vendor/hoa/exception/Test/Unit/
H A DIdle.php64 ->given($exception = new SUT('foo'))
65 ->when($result = $exception->getBacktrace())
116 $exception = new SUT($message)
141 ->given($exception = new SUT('foo'))
142 ->when($result = $exception->getFrom())
152 ->when($result = $exception->raise())
168 ->when($result = $exception->raise(true))
203 ->exception(function () {
214 ->given($exception = new SUT('foo'))
215 ->when($result = $exception->__toString())
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A DConnection.php276 throw $exception; variable in Elasticsearch\\Connections\\Connection
520 $exception = null;
525 $exception = new CouldNotResolveHostException($message, 0, $exception);
528 $exception = new CouldNotConnectToHost($message, 0, $exception);
531 $exception = new OperationTimeoutException($message, 0, $exception);
535 return $exception;
596 throw $exception;
618 … $exception = new RoutingMissingException($exception->getMessage(), $statusCode, $exception);
620 … $exception = new NoDocumentsToGetException($exception->getMessage(), $statusCode, $exception);
622 … $exception = new NoShardAvailableException($exception->getMessage(), $statusCode, $exception);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/
H A DException.php20 protected $exception; variable in PHPUnit_Framework_MockObject_Stub_Exception
22 public function __construct($exception) argument
25 if (!$exception instanceof Throwable && !$exception instanceof Exception) {
31 $this->exception = $exception;
36 throw $this->exception;
45 $exporter->export($this->exception)
/plugin/elasticsearch/vendor/react/promise/tests/PromiseTest/
H A DRejectTestTrait.php240 throw $exception;
266 $exception = new \Exception();
278 $adapter->reject($exception);
286 $exception = new \Exception();
300 $adapter->reject($exception);
308 $exception = new \Exception();
322 $adapter->reject($exception);
330 $exception = new \Exception();
340 throw $exception;
344 $adapter->reject($exception);
[all …]
H A DPromiseRejectedTestTrait.php136 $exception = new \Exception();
298 throw $exception;
337 $exception = new \Exception();
345 $adapter->reject($exception);
365 $adapter->reject($exception);
377 $exception = new \Exception();
381 $adapter->reject($exception);
393 $exception = new \Exception();
401 $adapter->reject($exception);
420 $adapter->reject($exception);
[all …]
H A DPromiseFulfilledTestTrait.php153 $exception = new \Exception();
159 ->will($this->throwException($exception));
165 ->with($this->identicalTo($exception));
315 $exception = new \Exception();
321 ->with($this->identicalTo($exception));
325 ->always(function () use ($exception) {
326 throw $exception;
336 $exception = new \Exception();
342 ->with($this->identicalTo($exception));
346 ->always(function () use ($exception) {
[all …]
/plugin/prosemirror/parser/
H A DNode.php75 … $exception = new ProsemirrorException('Invalid node type received: ' . $node['type'], 0);
76 $exception->addExtraData('nodeData', $node);
77 $exception->addExtraData('parentNodeType', get_class($parent));
79 throw $exception;
84 …$exception = new ProsemirrorException('FIXME: better message for general error! Invalid node type …
85 $exception->addExtraData('nodeData', $node);
86 $exception->addExtraData('parentNodeType', get_class($parent));
88 throw $exception;
/plugin/findologicxmlexport/vendor/hoa/exception/
H A DGroup.php95 foreach ($this as $exception) {
101 $exception->raise($previous)
149 foreach ($this->_group->pop() as $index => $exception) {
150 $this[$index] = $exception;
206 * @param Exception $exception Exception.
209 public function offsetSet($index, $exception) argument
211 if (!($exception instanceof \Exception)) {
219 $group[] = $exception;
221 $group[$index] = $exception;
H A DREADME.md8 …a href="https://travis-ci.org/hoaproject/exception"><img src="https://img.shields.io/travis/hoapro…
9 …/coveralls.io/github/hoaproject/exception?branch=master"><img src="https://img.shields.io/coverall…
10 …href="https://packagist.org/packages/hoa/exception"><img src="https://img.shields.io/packagist/dt/…
37 require [`hoa/exception`](https://packagist.org/packages/hoa/exception):
40 $ composer require hoa/exception '~1.0'
70 An exception is constitued of:
74 * A previous exception (optional).
76 Thus, the following example builds an exception:
96 echo $exception->raise(true);
105 * Nested exception (Hoa\Exception\Exception):
[all …]
H A DIdle.php268 public static function uncaught($exception) argument
270 if (!($exception instanceof self)) {
271 throw $exception;
279 'Uncaught exception (' . get_class($exception) . '):' . "\n" .
280 $exception->raise(true);
308 return set_exception_handler(function ($exception) {
309 return self::uncaught($exception);
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php82 public function testIntegration($file, $message, $condition, $templates, $exception, $outputs) argument
84 $this->doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs);
91 …public function testLegacyIntegration($file, $message, $condition, $templates, $exception, $output… argument
93 $this->doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs);
116 $exception = $match[5];
122 $exception = false;
144 …protected function doIntegrationTest($file, $message, $condition, $templates, $exception, $outputs) argument
193 if (false !== $exception) {
208 if (false !== $exception) {
219 if (false !== $exception) {
[all …]
/plugin/combo/ComboStrap/PageSqlParser/
H A DPageSqlParser.php293 $localContext->exception = $exception;
329 $localContext->exception = $exception;
365 $localContext->exception = $exception;
425 $localContext->exception = $exception;
461 $localContext->exception = $exception;
542 $localContext->exception = $exception;
690 $localContext->exception = $exception;
727 $localContext->exception = $exception;
778 $localContext->exception = $exception;
804 $localContext->exception = $exception;
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter/
H A DXML.php31 private $exception; variable in PHPUnit_Util_TestDox_ResultPrinter_XML
68 $this->exception = $e;
91 $this->exception = $e;
152 $this->exception = null;
202 if ($this->exception !== null) {
203 if ($this->exception instanceof PHPUnit_Framework_Exception) {
204 $steps = $this->exception->getSerializableTrace();
206 $steps = $this->exception->getTrace();
220 $node->setAttribute('exceptionMessage', $this->exception->getMessage());
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Call/
H A DCall.php27 private $exception; variable in Prophecy\\Call\\Call
38 * @param Exception $exception
43 Exception $exception = null, $file, $line) argument
48 $this->exception = $exception;
94 return $this->exception;
/plugin/elasticsearch/vendor/react/promise/src/
H A DCancellationQueue.php38 $exception = null;
42 } catch (\Throwable $exception) {
43 } catch (\Exception $exception) {
48 if ($exception) {
49 throw $exception;
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/
H A DgrammarTest.php25 public function testGrammar($tag, $grammar, $template, $output, $exception) argument
37 if (false === $exception) {
40 $this->assertEquals($exception, get_class($e));
45 if (false !== $exception) {
46 $this->fail(sprintf('Exception "%s" expected', $exception));
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Error/Exceptions/
H A DParseCancellationException.php9 public static function from(\Throwable $exception) : self argument
11 return new self($exception->getMessage(), $exception->getCode(), $exception);
/plugin/elasticsearch/vendor/react/promise/tests/fixtures/
H A DSimpleFulfilledTestThenable.php15 } catch (\Throwable $exception) {
16 return new RejectedPromise($exception);
17 } catch (\Exception $exception) {
18 return new RejectedPromise($exception);
H A DSimpleFulfilledTestPromise.php15 } catch (\Throwable $exception) {
16 return new RejectedPromise($exception);
17 } catch (\Exception $exception) {
18 return new RejectedPromise($exception);
H A DSimpleRejectedTestPromise.php15 } catch (\Throwable $exception) {
16 return new RejectedPromise($exception);
17 } catch (\Exception $exception) {
18 return new RejectedPromise($exception);
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
H A DParseExceptionTest.php21 $exception = new ParseException('Error message', 42, 'foo: bar', '/var/www/app/config.yml');
24 $this->assertEquals($message, $exception->getMessage());
29 $exception = new ParseException('Error message', 42, 'foo: bar', 'äöü.yml');
32 $this->assertEquals($message, $exception->getMessage());
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DErrorHandler.php66 $exception = 'PHPUnit_Framework_Error_Notice';
72 $exception = 'PHPUnit_Framework_Error_Warning';
78 $exception = 'PHPUnit_Framework_Error_Deprecated';
80 $exception = 'PHPUnit_Framework_Error';
83 throw new $exception($errstr, $errno, $errfile, $errline);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DYamlRunnerTest.php445 } catch (\Exception $exception) {
450 $msg = $exception->getMessage()
454 throw new \Exception($msg, 0, $exception);
489 } catch (Missing404Exception $exception) {
493 } catch (\Exception $exception) {
498 throw $exception;
822 if ($exception->getPrevious() !== null) {
1029 } catch (ParseException $exception) {
1032 $exception->getMessage(),
1041 } catch (\Exception $exception) {
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DServerEventsTest.php12 private $exception; variable in Sabre\\DAV\\ServerEventsTest
82 $this->assertInstanceOf('Sabre\\DAV\\Exception\\NotFound', $this->exception);
86 function exceptionHandler(Exception $exception) { argument
88 $this->exception = $exception;

12345678910>>...24