Project

General

Profile

Download (789 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
4
* http://www.e-taxonomy.eu
5
* 
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.remote.service;
10

    
11
/**
12
 * Exception for cases when a CDM object identified by its UUID is not existing
13
 * or the UUID is malformed and not even a valid UUID 
14
 * @author m.doering
15
 *
16
 */
17
public class CdmObjectNonExisting extends Exception {
18
	   public CdmObjectNonExisting(String uuid)
19
	   { 
20
	      super("CDM object not existing: "+uuid);
21
	   }
22
	   public CdmObjectNonExisting(String uuid, Class clas)
23
	   { 
24
	      super("CDM object of class "+ clas.getSimpleName() +" not existing: "+uuid);
25
	   }
26
}
(2-2/5)