Changeset 87
- Timestamp:
- 02/08/07 18:58:23 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/XJConf/converters/factories/ValueConverterFactoryChain.php
r77 r87 3 3 * Factory to create the correct ValueConverterFactory. 4 4 * 5 * @author Stephan Schmidt <stephan.schmidt@schlund.de> 6 * @author Frank Kleine <frank.kleine@schlund.de> 5 * @author Stephan Schmidt <stephan.schmidt@schlund.de> 6 * @author Frank Kleine <frank.kleine@schlund.de> 7 * @package XJConf 8 * @subpackage converters 7 9 */ 8 10 XJConfLoader::load('converters.factories.ValueConverterFactory', … … 44 46 * @param Definition $def 45 47 * @return ValueConverterFactory 48 * @throws ValueConversionException 46 49 */ 47 50 public static function getFactory(Definition $def) … … 53 56 } 54 57 55 return null;58 throw new ValueConversionException('Could not find ValueConverterFactory for definition of tag <' . $def->getName() . '> with type "' . $def->getType() . '". If this type is a class it probably has not been loaded.'); 56 59 } 57 60
