Revision 984 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/persistence/impl/DefaultPersistentContext.java

View differences:

DefaultPersistentContext.java
279 279
			 * has data about oracle connections but we dont have
280 280
			 * the oracle plugin in the current execution)
281 281
			 */
282
			throw new PersistenceClassNotRegistered(ref.getClass());
282
		    String classname = "";
283
		    if (state == null) {
284
		        classname = "[State is null]";
285
		    } else {
286
		        classname = state.getTheClassName();
287
		        if (classname == null) {
288
		            classname = "[Null]";
289
		        }
290
		    }
291
			throw new PersistenceClassNotRegistered(classname);
283 292
		}
284 293
		
285 294

  

Also available in: Unified diff