avadev / AvaTax-Calc-REST-PHP

PHP sample for the AvaTax Calc REST API
Apache License 2.0
9 stars 28 forks source link

declare a file for namespaced exception class, and use it #26

Closed shieldo closed 9 years ago

shieldo commented 9 years ago

Recent change to throwing of Exception instances declare a local class, but then use the unnamespaced, generic Exception class. The local declarations create ambiguity when using composer with the project.

This change creates a separate file for the namespaced Exception class, and makes use of it.