Project

General

Profile

Revision df75b75c

IDdf75b75c6d1db7d617e971ec26f99913c1c71586
Parent 7ad7b0fa
Child 3c50e62a

Added by Andreas Müller over 3 years ago

ref #7709 remove NPE

View differences:

cdmlib-cache/src/main/java/eu/etaxonomy/cdm/cache/CdmEntityCacheKey.java
20 20
	public CdmEntityCacheKey(Class<T> clazz, int id) {
21 21
		this.persistenceClass = clazz;
22 22
		this.persistenceId = id;
23
		throw new NullPointerException("Uuid is null for CdmEntityCacheKey, null values are not allowed as they do not represent a valid entity");
24 23
	}
25 24

  
26 25

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)