Skip to content

Commit c43862b

Browse files
committed
move exceptions to subdirectory
1 parent 633561f commit c43862b

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

src/IConnection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ public function getId();
4040
* Send a ping request via an established connection to verify that the
4141
* connection works.
4242
* @return boolean success?
43-
* @throws \phpsap\interfaces\IConnectionFailedException
43+
* @throws \phpsap\interfaces\exceptions\IConnectionFailedException
4444
*/
4545
public function ping();
4646

4747
/**
4848
* Prepare a remote function call and return a function instance.
4949
* @param string $functionName
5050
* @return \phpsap\interfaces\IFunction
51-
* @throws \phpsap\interfaces\IConnectionFailedException
52-
* @throws \phpsap\interfaces\IUnknownFunctionException
51+
* @throws \phpsap\interfaces\exceptions\IConnectionFailedException
52+
* @throws \phpsap\interfaces\exceptions\IUnknownFunctionException
5353
*/
5454
public function prepareFunction($functionName);
5555

src/IFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function setParam($name, $value);
4646
* Invoke the prepared function call.
4747
* @param null|array $params Optional parameter array.
4848
* @return array
49-
* @throws \phpsap\interfaces\IConnectionFailedException
50-
* @throws \phpsap\interfaces\IFunctionCallException
49+
* @throws \phpsap\interfaces\exceptions\IConnectionFailedException
50+
* @throws \phpsap\interfaces\exceptions\IFunctionCallException
5151
*/
5252
public function invoke($params = null);
5353
}

src/IConnectionFailedException.php renamed to src/exceptions/IConnectionFailedException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* File src/IConnectionFailedException.php
3+
* File src/exceptions/IConnectionFailedException.php
44
*
55
* The SAP connection failed.
66
*
@@ -9,14 +9,14 @@
99
* @license MIT
1010
*/
1111

12-
namespace phpsap\interfaces;
12+
namespace phpsap\interfaces\exceptions;
1313

1414
/**
15-
* Class phpsap\interfaces\IConnectionFailedException
15+
* Class phpsap\interfaces\exceptions\IConnectionFailedException
1616
*
1717
* The SAP connection failed.
1818
*
19-
* @package phpsap\interfaces
19+
* @package phpsap\interfaces\exceptions
2020
* @author Gregor J.
2121
* @license MIT
2222
*/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* File src/IFunctionCallException.php
3+
* File src/exceptions/IFunctionCallException.php
44
*
55
* The SAP remote function call failed.
66
*
@@ -9,14 +9,14 @@
99
* @license MIT
1010
*/
1111

12-
namespace phpsap\interfaces;
12+
namespace phpsap\interfaces\exceptions;
1313

1414
/**
15-
* Class phpsap\interfaces\IFunctionCallException
15+
* Class phpsap\interfaces\exceptions\IFunctionCallException
1616
*
1717
* The SAP remote function call failed.
1818
*
19-
* @package phpsap\interfaces
19+
* @package phpsap\interfaces\exceptions
2020
* @author Gregor J.
2121
* @license MIT
2222
*/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* File src/ISapException.php
3+
* File src/exceptions/ISapException.php
44
*
55
* Interface for the generic SAP exception.
66
*
@@ -9,14 +9,14 @@
99
* @license MIT
1010
*/
1111

12-
namespace phpsap\interfaces;
12+
namespace phpsap\interfaces\exceptions;
1313

1414
/**
15-
* Class phpsap\interfaces\ISapException
15+
* Class phpsap\interfaces\exceptions\ISapException
1616
*
1717
* Interface for the generic SAP exception.
1818
*
19-
* @package phpsap\interfaces
19+
* @package phpsap\interfaces\exceptions
2020
* @author Gregor J.
2121
* @license MIT
2222
*/

src/IUnknownFunctionException.php renamed to src/exceptions/IUnknownFunctionException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* File src/IUnknownFunctionException.php
3+
* File src/exceptions/IUnknownFunctionException.php
44
*
55
* The requested remote function could not be found.
66
*
@@ -9,14 +9,14 @@
99
* @license MIT
1010
*/
1111

12-
namespace phpsap\interfaces;
12+
namespace phpsap\interfaces\exceptions;
1313

1414
/**
15-
* Class phpsap\interfaces\IUnknownFunctionException
15+
* Class phpsap\interfaces\exceptions\IUnknownFunctionException
1616
*
1717
* The requested remote function could not be found.
1818
*
19-
* @package phpsap\interfaces
19+
* @package phpsap\interfaces\exceptions
2020
* @author Gregor J.
2121
* @license MIT
2222
*/

0 commit comments

Comments
 (0)