Project

General

Profile

« Previous | Next » 

Revision f518b780

Added by Andreas Müller almost 8 years ago

Revert class not found exception in referencing objects to pure logging.

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/common/CdmGenericDaoImpl.java
140 140
						result.add((Class)clazz);
141 141
					}
142 142
				} catch (ClassNotFoundException e) {
143
					throw new RuntimeException("Persisted CDM class not found:",e);
143
				    String message = "Persisted CDM class not found: " + strKey;
144
				    logger.warn(message);
145
				    //TODO better throw exception, but currently some keys are really not found yet
146
//					throw new RuntimeException("Persisted CDM class not found: " + strKey,e);
144 147
				}
145 148
			}
146 149
		}

Also available in: Unified diff