svn-gvsig-desktop / branches / v10 / libraries / libArcIMS_old / src / org / gvsig / remoteClient / arcims / exceptions / ArcImsException.java @ 12255
History | View | Annotate | Download (913 Bytes)
1 |
package org.gvsig.remoteClient.arcims.exceptions; |
---|---|
2 |
|
3 |
/**
|
4 |
* ArcIms specific exception, @see Exception
|
5 |
*/
|
6 |
public class ArcImsException extends Exception |
7 |
{ |
8 |
static final long serialVersionUID = 0; |
9 |
|
10 |
private String arcims_message = null; |
11 |
|
12 |
/**
|
13 |
*
|
14 |
*/
|
15 |
public ArcImsException() {
|
16 |
super();
|
17 |
} |
18 |
|
19 |
/**
|
20 |
* Creates an ArcimsException
|
21 |
*
|
22 |
* @param message
|
23 |
*/
|
24 |
public ArcImsException(String message) { |
25 |
super(message);
|
26 |
} |
27 |
|
28 |
/**
|
29 |
* Creates an ArcimsException
|
30 |
*
|
31 |
* @param message
|
32 |
* @param cause
|
33 |
*/
|
34 |
public ArcImsException(String message, Throwable cause) { |
35 |
super(message, cause);
|
36 |
} |
37 |
|
38 |
/**
|
39 |
* Creates an ArcimsException
|
40 |
*
|
41 |
* @param cause
|
42 |
*/
|
43 |
public ArcImsException(Throwable cause) { |
44 |
super(cause);
|
45 |
} |
46 |
|
47 |
public String getArcImsMessage() |
48 |
{ |
49 |
if (arcims_message == null) |
50 |
return ""; |
51 |
else
|
52 |
return arcims_message;
|
53 |
} |
54 |
|
55 |
public void setArcImsMessage(String mes) |
56 |
{ |
57 |
arcims_message = mes; |
58 |
} |
59 |
} |