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 | 207 * @throws RemoteException 400 * @throws RemoteException 429 * @throws RemoteException 451 * @throws RemoteException 475 * @throws RemoteException 520 * @throws RemoteException 568 * @throws RemoteException 658 * @throws RemoteException no id, empty new page or locked 671 throw new RemoteException('Refusing to write an empty new wiki page', 132); 676 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); 147 * @throws RemoteException thrown when the API is disabled
|
| H A D | LegacyApiCore.php | 100 } catch (RemoteException $e) { 115 } catch (RemoteException $e) { 150 } catch (RemoteException $e) { 165 } catch (RemoteException $e) { 355 if ($user === '') throw new RemoteException('empty or invalid user', 401); 356 if ($name === '') throw new RemoteException('empty or invalid user name', 402); 357 if (!mail_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 | 6 use dokuwiki\Remote\RemoteException; alias 33 * @throws RemoteException 56 if ($user === '') throw new RemoteException('empty or invalid user', 401); 57 if ($name === '') throw new RemoteException('empty or invalid user name', 402); 58 if (!mail_isvalid($mail)) throw new RemoteException('empty or invalid mail address', 403); 64 throw new RemoteException('Could not generate password', 405);
|
| /dokuwiki/_test/tests/Remote/ |
| H A D | ApiCoreTest.php | 8 use dokuwiki\Remote\RemoteException; alias 408 } catch (RemoteException $e) { 410 $this->assertInstanceOf(RemoteException::class, $e); 416 } catch (RemoteException $e) { 418 $this->assertInstanceOf(RemoteException::class, $e); 485 } catch (RemoteException $e) { 487 $this->assertInstanceOf(RemoteException::class, $e); 493 } catch (RemoteException $e) { 495 $this->assertInstanceOf(RemoteException::class, $e); 683 } 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);
|
| /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);
|