01: package com.sun.portal.providers;
02:
03: import java.lang.*;
04: import com.sun.portal.providers.*;
05:
06: /**
07: * This exception may be thrown from <code>Provider.getEditType()</code>
08: * if an unknown or undefined edit type is encountered.
09: *
10: * @see com.sun.portal.providers.ProviderException
11: * @see com.sun.portal.providers.Provider#getEditType
12: *
13: */
14:
15: public class UnknownEditTypeException extends ProviderException {
16: /**
17: * Constructs a new exception with the specified message, indicating an
18: * unexpected edit type is encountered.<br><br>
19: *
20: * @param msg The descriptive message.
21: */
22: public UnknownEditTypeException(String msg) {
23: super (msg);
24: }
25:
26: /**
27: * Constructs a new exception with the specified message, and the original
28: * <code>exception</code> or <code>error</code>.<br><br>
29: *
30: * @param msg The descriptive message.
31: * @param e The original <code>exception</code> or <code>error</code>.
32: */
33: public UnknownEditTypeException(String msg, Throwable e) {
34: super(msg, e);
35: }
36: }
|