@@ -35,6 +35,7 @@ abstract class ConfigCommon extends AbstractConfiguration implements IConfigComm
3535 * Get the username to use for authentication.
3636 * @return string
3737 * @throws IncompleteConfigException
38+ * @throws InvalidArgumentException
3839 */
3940 public function getUser (): string
4041 {
@@ -66,6 +67,7 @@ public function setUser($user): IConfigCommon
6667 * Get the password to use for authentication.
6768 * @return string
6869 * @throws IncompleteConfigException
70+ * @throws InvalidArgumentException
6971 */
7072 public function getPasswd (): string
7173 {
@@ -97,6 +99,7 @@ public function setPasswd($passwd): IConfigCommon
9799 * Get the client.
98100 * @return string
99101 * @throws IncompleteConfigException
102+ * @throws InvalidArgumentException
100103 */
101104 public function getClient (): string
102105 {
@@ -129,6 +132,7 @@ public function setClient($client): IConfigCommon
129132 * the parameters are in the following format:
130133 * /H/hostname/S/portnumber/H/
131134 * @return string|null The saprouter or NULL in case the saprouter hasn't been set.
135+ * @throws InvalidArgumentException
132136 */
133137 public function getSaprouter (): ?string
134138 {
@@ -165,6 +169,7 @@ public function setSaprouter($saprouter): IConfigCommon
165169 /**
166170 * Get the trace level (0-3). See constants TRACE_*.
167171 * @return int|null The trace level or NULL in case the trace level hasn't been set.
172+ * @throws InvalidArgumentException
168173 */
169174 public function getTrace (): ?int
170175 {
@@ -200,6 +205,7 @@ public function setTrace($trace): IConfigCommon
200205 * codepage for the initial handshake, thus preserving the characters in
201206 * username/password.
202207 * @return int|null The codepage or NULL in case the codepage hasn't been set.
208+ * @throws InvalidArgumentException
203209 */
204210 public function getCodepage (): ?int
205211 {
@@ -227,6 +233,7 @@ public function setCodepage($codepage): IConfigCommon
227233 /**
228234 * Get the logon Language.
229235 * @return string|null The logon language or NULL in case the logon language hasn't been set.
236+ * @throws InvalidArgumentException
230237 */
231238 public function getLang (): ?string
232239 {
@@ -259,6 +266,7 @@ public function setLang($lang): IConfigCommon
259266 /**
260267 * Get the destination in RfcOpenConnection.
261268 * @return string|null The destination or NULL in case the destination hasn't been set.
269+ * @throws InvalidArgumentException
262270 */
263271 public function getDest (): ?string
264272 {
0 commit comments