Searched refs:RemoteException (Results 1 – 11 of 11) sorted by relevance
| /dokuwiki/inc/Remote/ |
| H A D | JsonRpcServer.php | 28 * @throws RemoteException 37 throw new RemoteException("JSON-RPC server not enabled.", -32605); 45 throw new RemoteException("JSON-RPC server only accepts POST requests.", -32606); 51 … throw new RemoteException("JSON-RPC server only accepts application/json requests.", -32606); 65 throw new RemoteException("JSON-RPC server only accepts valid JSON.", -32700); 80 * @throws RemoteException 171 * @throws RemoteException 180 … throw new RemoteException("server error. not authorized to call method $methodname", -32603); 183 … throw new RemoteException("server error. forbidden to call the method $methodname", -32604); 185 } catch (RemoteException $e) {
|
| H A D | ApiCore.php | 210 * @throws RemoteException 404 * @throws RemoteException 433 * @throws RemoteException 455 * @throws RemoteException 479 * @throws RemoteException 524 * @throws RemoteException 572 * @throws RemoteException 661 * @throws RemoteException no id, empty new page or locked 674 throw new RemoteException('Refusing to write an empty new wiki page', 132); 679 throw new RemoteException('The page is currently locked', 133); [all …]
|
| H A D | RemoteException.php | 8 class RemoteException extends \Exception class
|
| H A D | AccessDeniedException.php | 8 class AccessDeniedException extends RemoteException
|
| H A D | Api.php | 119 * @throws RemoteException 131 throw new RemoteException('Method does not exist', -32603); 139 throw new RemoteException($e->getMessage(), -32602, $e); 147 * @throws RemoteException thrown when the API is disabled
|
| H A D | LegacyApiCore.php | 101 } catch (RemoteException $e) { 116 } catch (RemoteException $e) { 151 } catch (RemoteException $e) { 166 } catch (RemoteException $e) { 356 if ($user === '') throw new RemoteException('empty or invalid user', 401); 357 if ($name === '') throw new RemoteException('empty or invalid user name', 402); 358 … if (!MailUtils::isValid($mail)) throw new RemoteException('empty or invalid mail address', 403);
|
| H A D | XmlRpcServer.php | 63 } catch (RemoteException $e) {
|
| /dokuwiki/lib/plugins/usermanager/ |
| H A D | remote.php | 7 use dokuwiki\Remote\RemoteException; alias 34 * @throws RemoteException 57 if ($user === '') throw new RemoteException('empty or invalid user', 401); 58 if ($name === '') throw new RemoteException('empty or invalid user name', 402); 59 … if (!MailUtils::isValid($mail)) throw new RemoteException('empty or invalid mail address', 403); 65 throw new RemoteException('Could not generate password', 405);
|
| /dokuwiki/lib/plugins/usermanager/_test/ |
| H A D | RemoteApiTest.php | 7 use dokuwiki\Remote\RemoteException; alias 111 $this->expectException(RemoteException::class); 135 $this->expectException(RemoteException::class); 159 $this->expectException(RemoteException::class);
|
| /dokuwiki/_test/tests/Remote/ |
| H A D | ApiCoreTest.php | 8 use dokuwiki\Remote\RemoteException; alias 411 } catch (RemoteException $e) { 413 $this->assertInstanceOf(RemoteException::class, $e); 419 } catch (RemoteException $e) { 421 $this->assertInstanceOf(RemoteException::class, $e); 488 } catch (RemoteException $e) { 490 $this->assertInstanceOf(RemoteException::class, $e); 496 } catch (RemoteException $e) { 498 $this->assertInstanceOf(RemoteException::class, $e); 687 } catch (RemoteException $e) { [all …]
|
| H A D | ApiTest.php | 8 use dokuwiki\Remote\RemoteException; alias 233 } catch (RemoteException $th) { 263 $this->expectException(RemoteException::class); 292 $this->expectException(RemoteException::class); 303 $this->expectException(RemoteException::class);
|