gvsig-3d / org.gvsig.animation3d / trunk / org.gvsig.animation3d / org.gvsig.animation3d.swing / org.gvsig.animation3d.swing.api / src / main / java / org / gvsig / animation3d / swing / api / Frame3DCreationException.java @ 687
History | View | Annotate | Download (847 Bytes)
1 |
package org.gvsig.animation3d.swing.api; |
---|---|
2 |
|
3 |
import org.gvsig.tools.exception.BaseException; |
4 |
|
5 |
/**
|
6 |
* Exception to manage {@link Frame3D} creation errors.
|
7 |
*
|
8 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
|
9 |
*
|
10 |
*/
|
11 |
public class Frame3DCreationException extends BaseException { |
12 |
|
13 |
private static final long serialVersionUID = -7896918553169253342L; |
14 |
|
15 |
private final static String KEY = "_error_creating_frame3d"; |
16 |
|
17 |
private final static String MESSAGE = "Error creating frame 3D"; |
18 |
|
19 |
/**
|
20 |
*
|
21 |
* @param msg
|
22 |
* @param cause
|
23 |
*/
|
24 |
public Frame3DCreationException(String msg, Throwable cause) { |
25 |
super(msg, cause, KEY, serialVersionUID);
|
26 |
} |
27 |
|
28 |
/**
|
29 |
*
|
30 |
* @param cause
|
31 |
*/
|
32 |
public Frame3DCreationException(Throwable cause) { |
33 |
super(MESSAGE, cause, KEY, serialVersionUID);
|
34 |
} |
35 |
|
36 |
} |