Home
last modified time | relevance | path

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

12345678910>>...26

/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/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/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A DConnection.php573 $exception = null;
578 $exception = new CouldNotResolveHostException($message, 0, $exception);
581 $exception = new CouldNotConnectToHost($message, 0, $exception);
584 $exception = new OperationTimeoutException($message, 0, $exception);
588 return $exception;
698 throw $exception;
720 … $exception = new RoutingMissingException($exception->getMessage(), $statusCode, $exception);
722 … $exception = new NoDocumentsToGetException($exception->getMessage(), $statusCode, $exception);
724 … $exception = new NoShardAvailableException($exception->getMessage(), $statusCode, $exception);
734 throw $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/authgooglesheets/vendor/google/apiclient-services/src/ToolResults/
H A DStackTrace.php25 public $exception; variable in Google\\Service\\ToolResults\\StackTrace
30 public function setException($exception) argument
32 $this->exception = $exception;
39 return $this->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 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);
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 …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/YouTube/
H A DAccessPolicy.php30 public $exception; variable in Google\\Service\\YouTube\\AccessPolicy
49 public function setException($exception) argument
51 $this->exception = $exception;
58 return $this->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/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/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
H A DMongoDBFormatter.php112 protected function formatException(\Throwable $exception, int $nestingLevel) argument
115 'class' => Utils::getClass($exception),
116 'message' => $exception->getMessage(),
117 'code' => (int) $exception->getCode(),
118 'file' => $exception->getFile() . ':' . $exception->getLine(),
122 $formattedException['trace'] = $exception->getTraceAsString();
124 $formattedException['trace'] = $exception->getTrace();
/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;
H A DFulfilledPromise.php29 } catch (\Throwable $exception) {
30 return new RejectedPromise($exception);
31 } catch (\Exception $exception) {
32 return new RejectedPromise($exception);
H A DLazyPromise.php57 } catch (\Throwable $exception) {
58 $this->promise = new RejectedPromise($exception);
59 } catch (\Exception $exception) {
60 $this->promise = new RejectedPromise($exception);
/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/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/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/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DClientProtocolHandler.php148 } catch (UnsolicitedNotificationException $exception) {
149 if ($exception->getOid() === ExtendedResponse::OID_NOTICE_OF_DISCONNECTION) {
152 … sprintf('The remote server has disconnected the session. %s', $exception->getMessage()),
153 $exception->getCode()
157 throw $exception;
158 } catch (SocketException $exception) {
160 $exception->getMessage(),
161 $exception->getCode(),
162 $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/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DCoroutine.php72 } catch (\Exception $exception) {
73 $this->result->reject($exception);
146 } catch (Exception $exception) {
147 $this->result->reject($exception);
163 } catch (Exception $exception) {
164 $this->result->reject($exception);
/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>>...26