KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > exceptions > WSRPException


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  *
5  * Created on 14 janv. 2004
6  */

7 package org.exoplatform.services.wsrp.exceptions;
8
9 /**
10  * @author Mestrallet Benjamin
11  * benjmestrallet@users.sourceforge.net
12  */

13 public class WSRPException extends Exception JavaDoc {
14
15   private String JavaDoc fault;
16
17   public WSRPException() {
18     this("unknown", null);
19   }
20
21   public WSRPException(String JavaDoc fault) {
22     this(fault, null);
23   }
24
25   public WSRPException(String JavaDoc fault, Throwable JavaDoc t){
26     super("fault : " + fault, t);
27     this.fault = fault;
28   }
29   
30   public String JavaDoc getFault() {
31     return fault;
32   }
33
34 }
35
Popular Tags