owncloud / data_exporter

Export/Import for ownCloud user data
GNU General Public License v2.0
7 stars 5 forks source link

Exception hierarchy #4

Open IljaN opened 6 years ago

IljaN commented 6 years ago
Exception
  |-> OCA\DataExporter\Importer\Exceptions\ImporterException
  |         |-> OCA\DataExporter\Importer\Exceptions\UserImporterException
  |         |-> OCA\DataExporter\Importer\Exceptions\FileImporterException
  |              .....
  |-> OCA\DataExporter\Exporter\Exceptions\ExporterException
  |         |-> OCA\DataExporter\Exporter\Exceptions\Exporter\ExporterExporterException
  |         |         |-> OCA\DataExporter\Exporter\Exceptions\Exporter\FileExporterException
  |         |-> OCA\DataExporter\Exporter\Exceptions\Extractor\ExtractorException
  |                   |-> OCA\DataExporter\Exporter\Exceptions\Extractor\UserExtractorException
  |                   |-> OCA\DataExporter\Exporter\Exceptions\Extractor\FileExtractorException

Several things to notice:

In addition:

IljaN commented 6 years ago

OCA\DataExporter\Exporter\Exceptions\Exporter\ExporterExporterException

Do you mind if we don't nest that deep? I am all dizzy reading this classpath (not DRY enough). ;)