Subversion Repositories eFlore/Applications.del

Rev

Rev 9 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 14
Line 7... Line 7...
7
 * exception from server and display the message in the client.
7
 * exception from server and display the message in the client.
8
 * 
8
 * 
9
 * @author Benjamin
9
 * @author Benjamin
10
 * 
10
 * 
11
 */
11
 */
12
public class ClientException extends Exception implements IsSerializable {
12
public class ExceptionClient extends Exception implements IsSerializable {
Line 13... Line 13...
13
 
13
 
14
	/**
14
	/**
15
	 * 
15
	 * 
16
	 */
16
	 */
Line 17... Line 17...
17
	private static final long serialVersionUID = 636898773374000925L;
17
	private static final long serialVersionUID = 636898773374000925L;
Line 18... Line 18...
18
 
18
 
19
	private String clientMessage;
19
	private String clientMessage;
20
 
20
 
21
	public ClientException(String exceptionMessage) {
21
	public ExceptionClient(String exceptionMessage) {
Line 22... Line 22...
22
		super();
22
		super();
23
		clientMessage = exceptionMessage;
23
		clientMessage = exceptionMessage;
24
	}
24
	}
25
 
25
 
Line 26... Line 26...
26
	public ClientException(Exception e) {
26
	public ExceptionClient(Exception e) {
27
		super(e);
27
		super(e);
Line 28... Line 28...
28
		clientMessage = e.getMessage();
28
		clientMessage = e.getMessage();
29
	}
29
	}
30
 
30