-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
56 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
<?php | ||
/** | ||
* eZ Automated Translation Bundle. | ||
* | ||
* @package EzSystems\eZAutomatedTranslationBundle | ||
* | ||
* @author Novactive <s.morel@novactive.com> | ||
* @copyright Copyright (C) eZ Systems AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace EzSystems\EzPlatformAutomatedTranslation\Exception; | ||
|
||
use RuntimeException; | ||
|
||
/** | ||
* Class ClientNotConfiguredException. | ||
*/ | ||
class ClientNotConfiguredException extends RuntimeException | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,32 @@ | ||
<?php | ||
/** | ||
* eZ Automated Translation Bundle. | ||
* | ||
* @package EzSystems\eZAutomatedTranslationBundle | ||
* | ||
* @author Novactive <s.morel@novactive.com> | ||
* @copyright Copyright (C) eZ Systems AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace EzSystems\EzPlatformAutomatedTranslation\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
/** | ||
* Class InvalidLanguageCodeException. | ||
*/ | ||
class InvalidLanguageCodeException extends InvalidArgumentException | ||
{ | ||
public function __construct($languageCode, $driver) | ||
/** | ||
* InvalidLanguageCodeException constructor. | ||
* | ||
* @param string $languageCode | ||
* @param string $driver | ||
*/ | ||
public function __construct(string $languageCode, string $driver) | ||
{ | ||
parent::__construct("$languageCode not recognized by $driver"); | ||
} | ||
} | ||
} |