KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Jt > JtRemoteException


1
2
3 package Jt;
4
5 /**
6   * Represents remote Jt Exceptions: exceptions generated by remote objects.
7   */

8
9 public class JtRemoteException extends JtException {
10
11    private String JavaDoc trace;
12
13    public JtRemoteException () {}
14
15
16  /**
17    * Specifies the remote stack trace
18    */

19    public void setTrace (String JavaDoc trace) {
20      this.trace = trace;
21    }
22
23  /**
24    * Returns the remote stack trace.
25    */

26
27    public String JavaDoc getTrace () {
28      return (trace);
29    }
30
31    public JtRemoteException (String JavaDoc s) {
32     super (s);
33    }
34
35 }
36
Popular Tags