Revision 23170 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/visitor/NotSupportedOperationException.java

View differences:

NotSupportedOperationException.java
5 5

  
6 6
import org.gvsig.tools.exception.BaseException;
7 7

  
8
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
8
/* gvSIG. Geographic Information System of the Valencian Government
9 9
 *
10
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
10
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
11
 * of the Valencian Government (CIT)
11 12
 *
12 13
 * This program is free software; you can redistribute it and/or
13 14
 * modify it under the terms of the GNU General Public License
......
21 22
 *
22 23
 * You should have received a copy of the GNU General Public License
23 24
 * along with this program; if not, write to the Free Software
24
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
25
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26
 * MA  02110-1301, USA.
25 27
 *
26
 * For more information, contact:
27
 *
28
 *  Generalitat Valenciana
29
 *   Conselleria d'Infraestructures i Transport
30
 *   Av. Blasco Ib??ez, 50
31
 *   46010 VALENCIA
32
 *   SPAIN
33
 *
34
 *      +34 963862235
35
 *   gvsig@gva.es
36
 *      www.gvsig.gva.es
37
 *
38
 *    or
39
 *
40
 *   IVER T.I. S.A
41
 *   Salamanca 50
42
 *   46005 Valencia
43
 *   Spain
44
 *
45
 *   +34 963163400
46
 *   dac@iver.es
47 28
 */
48
/* CVS MESSAGES:
49
 *
50
 * $Id$
51
 * $Log$
52
 *
29

  
30
/*
31
 * AUTHORS (In addition to CIT):
32
 * 2008 IVER T.I. S.A.   {{Task}}
53 33
 */
54 34
/**
55 35
 * @author Jorge Piera Llodr? (jorge.piera@iver.es)
......
58 38
	private static final long serialVersionUID = 1L;
59 39
	private String visitorClassName = null;
60 40
	private String objectClassName = null;
61
		
41

  
62 42
	public NotSupportedOperationException(Visitor visitor, Object object){
63 43
		this.visitorClassName = visitor.getClass().getName();
64 44
		this.objectClassName = object.getClass().getName();
65 45
	}
66
	
46

  
67 47
	/**
68 48
	 * Initializes some values
69 49
	 */
......
73 53
			"operation for the object %(objectClassName)";
74 54
		code = serialVersionUID;
75 55
	}
76
	
56

  
77 57
	/*
78 58
	 * (non-Javadoc)
79 59
	 * @see org.gvsig.exceptions.BaseException#values()

Also available in: Unified diff