[TYPO3-core] RFC #9206 Feature: Details to error message 'is no TYPO3 language file'

Martin Kutschker masi-no at spam-typo3.org
Mon Sep 29 09:15:13 CEST 2008


Ingo Renner schrieb:
> Johannes Pieper wrote:
> 
> Hi Johannes,
> 
>> 4.3 with throw()
> 
> when throwing an exception, please create a dedicated exception,
> something like CorruptLanguageFileException or something else fitting
> for this sittuation or one of the SPL exceptions.

I would ast that we try to use SPL. If nothing fits, we should think a
bout a general new exception (to be located in t3lib/execptions?) and
only if that makes no sense create a new one. I think we'll see more
exceptions in the Core and I don't want to have a new exception class
for all of them!

Masi


More information about the TYPO3-team-core mailing list