01: /**
02: * $Id: ProviderProvisionPropertiesException.java,v 1.2 2005/04/20 20:49:31 mjain Exp $
03: * Copyright 2005 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.service.provision;
14:
15: import java.lang.Exception;
16:
17: import java.io.PrintWriter;
18: import java.io.BufferedReader;
19: import java.io.PrintStream;
20: import java.io.PrintWriter;
21:
22: /**
23: * A ProviderProvisionPreferencesException is thrown when there is an unrecoverable error
24: * in implementation.
25: **/
26: public class ProviderProvisionPropertiesException extends Exception {
27:
28: protected Throwable wrapped = null;
29:
30: /**
31: * Constructs a new exception with the specified message, indicating an
32: * error in the provider as happened.<br><br>
33: *
34: * @param msg The descriptive message.
35: */
36: public ProviderProvisionPropertiesException(String msg) {
37: super (msg);
38: }
39:
40: /**
41: * Constructs a new exception with the specified message, and the original
42: * <code>exception</code> or <code>error</code>, indicating an error in the
43: * implementation as happened.<br><br>
44: *
45: * @param msg The descriptive message.
46: * @param e The original <code>exception</code> or <code>error</code>.
47: */
48: public ProviderProvisionPropertiesException(String msg, Throwable t) {
49: super (msg, t);
50: wrapped = t;
51: }
52:
53: public ProviderProvisionPropertiesException(Throwable t) {
54: super(t);
55: }
56:
57: }
|