01: /**
02: * $Id: SimpleWebServiceProcessException.java,v 1.4 2003/06/03 10:44:01 sy131129 Exp $
03: * Copyright 2002 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.providers.simplewebservice;
14:
15: /**
16: * The SimpleWebServiceProcessException is thrown when a web service method invocation fails
17: * because of reasons like invalid input parameters etc.
18: *
19: * @see SimpleWebServiceException
20: */
21: public class SimpleWebServiceProcessException extends
22: SimpleWebServiceException {
23:
24: public static final String SOAP_ERROR = "SOAP_ERROR";
25: public static final String ILLEGAL_PARAMETER_ERROR = "ILLEGAL_PARAMETER_ERROR";
26: public static final String INVOKE_ERROR = "INVOKE_ERROR";
27: public static final String BAD_END_URL = "BAD_END_URL";
28:
29: /**
30: * Public Constructor.
31: *
32: * @param faultCode the SimpleWebServiceException faultCode.
33: * @param message the SimpleWebServiceException message.
34: * @param targetThrowable the target throwable for the SimpleWebServiceException.
35: */
36: public SimpleWebServiceProcessException(String faultCode,
37: String message, Throwable targetThrowable) {
38: super (faultCode, message, targetThrowable);
39: }
40:
41: /**
42: * Public Constructor.
43: * @param faultCode the SimpleWebServiceException faultCode.
44: * @param message the SimpleWebServiceException message.
45: */
46: public SimpleWebServiceProcessException(String faultCode,
47: String message) {
48: this(faultCode, message, null);
49: }
50: }
|