diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-10-25 23:21:07 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-10-29 22:00:12 +0100 |
commit | 66832c41e9fff481c20ca219b3cc0a4e53b8b551 (patch) | |
tree | ffff0bb391350ec9c8c16bcf8781bce6d866cf89 /vendor/commerceguys/intl/src/Exception | |
parent | 8e4c5db766ce23d05b8507991b04fece743147de (diff) | |
download | volse-hubzilla-66832c41e9fff481c20ca219b3cc0a4e53b8b551.tar.gz volse-hubzilla-66832c41e9fff481c20ca219b3cc0a4e53b8b551.tar.bz2 volse-hubzilla-66832c41e9fff481c20ca219b3cc0a4e53b8b551.zip |
:arrow_up: Update intl library.
Update intl library from v0.4? (2014) to v0.7.4 (2016).
Use global composer autoloader now.
Diffstat (limited to 'vendor/commerceguys/intl/src/Exception')
6 files changed, 61 insertions, 0 deletions
diff --git a/vendor/commerceguys/intl/src/Exception/ExceptionInterface.php b/vendor/commerceguys/intl/src/Exception/ExceptionInterface.php new file mode 100644 index 000000000..a7d17f9ab --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/ExceptionInterface.php @@ -0,0 +1,7 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +interface ExceptionInterface +{ +} diff --git a/vendor/commerceguys/intl/src/Exception/InvalidArgumentException.php b/vendor/commerceguys/intl/src/Exception/InvalidArgumentException.php new file mode 100644 index 000000000..afbe114a4 --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/InvalidArgumentException.php @@ -0,0 +1,11 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +/** + * This exception is thrown when an invalid argument is passed to a method. + * For example, a float amount instead of the expected string amount. + */ +class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/vendor/commerceguys/intl/src/Exception/UnknownCountryException.php b/vendor/commerceguys/intl/src/Exception/UnknownCountryException.php new file mode 100644 index 000000000..c89845b23 --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/UnknownCountryException.php @@ -0,0 +1,11 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +/** + * This exception is thrown when an unknown country code is passed to the + * CountryRepository. + */ +class UnknownCountryException extends InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/vendor/commerceguys/intl/src/Exception/UnknownCurrencyException.php b/vendor/commerceguys/intl/src/Exception/UnknownCurrencyException.php new file mode 100644 index 000000000..f94c93d8a --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/UnknownCurrencyException.php @@ -0,0 +1,11 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +/** + * This exception is thrown when an unknown currency code is passed to the + * CurrencyRepository. + */ +class UnknownCurrencyException extends InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/vendor/commerceguys/intl/src/Exception/UnknownLanguageException.php b/vendor/commerceguys/intl/src/Exception/UnknownLanguageException.php new file mode 100644 index 000000000..922b42185 --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/UnknownLanguageException.php @@ -0,0 +1,11 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +/** + * This exception is thrown when an unknown language code is passed to the + * LanguageRepository. + */ +class UnknownLanguageException extends InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/vendor/commerceguys/intl/src/Exception/UnknownLocaleException.php b/vendor/commerceguys/intl/src/Exception/UnknownLocaleException.php new file mode 100644 index 000000000..0deca13e8 --- /dev/null +++ b/vendor/commerceguys/intl/src/Exception/UnknownLocaleException.php @@ -0,0 +1,10 @@ +<?php + +namespace CommerceGuys\Intl\Exception; + +/** + * This exception is thrown when an unknown locale is passed to a repository. + */ +class UnknownLocaleException extends InvalidArgumentException implements ExceptionInterface +{ +} |