1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.api.facade;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
|
14
|
/**
|
15
|
* This exception should be thrown if a derived unit facade does not support a certain
|
16
|
* method because its derived unit type (specimenOrObservation type) does not support
|
17
|
* the functionality.
|
18
|
*
|
19
|
* @see DerivedUnitFacadeNotSupportedException
|
20
|
*
|
21
|
* @author a.mueller
|
22
|
* @date 17.05.2010
|
23
|
*
|
24
|
*/
|
25
|
public class MethodNotSupportedByDerivedUnitTypeException extends Exception {
|
26
|
private static final long serialVersionUID = -1135345372784107810L;
|
27
|
@SuppressWarnings("unused")
|
28
|
private static final Logger logger = Logger.getLogger(MethodNotSupportedByDerivedUnitTypeException.class);
|
29
|
|
30
|
|
31
|
/**
|
32
|
* @param arg0
|
33
|
*/
|
34
|
public MethodNotSupportedByDerivedUnitTypeException(String arg0) {
|
35
|
super(arg0);
|
36
|
}
|
37
|
|
38
|
/**
|
39
|
* @param arg0
|
40
|
*/
|
41
|
public MethodNotSupportedByDerivedUnitTypeException(Throwable arg0) {
|
42
|
super(arg0);
|
43
|
}
|
44
|
|
45
|
/**
|
46
|
* @param arg0
|
47
|
* @param arg1
|
48
|
*/
|
49
|
public MethodNotSupportedByDerivedUnitTypeException(String arg0, Throwable arg1) {
|
50
|
super(arg0, arg1);
|
51
|
}
|
52
|
|
53
|
|
54
|
}
|