01: package com.sun.portal.providers;
02:
03: import java.lang.*;
04: import com.sun.portal.providers.*;
05:
06: /**
07: * This exception (or a subclass of) should be thrown from the
08: * <code>Provider.processEdit</code> method when there is an
09: * error in the data input by the user.
10: * <p>
11: * Upon catching this exception,
12: * the desktop will return the user to the provider's
13: * edit page, and insert into the page the result of this class's
14: * <code>getMessage()</code> method.
15: *
16: * @see com.sun.portal.providers.ProfileProviderAdapter
17: * @see com.sun.portal.providers.Provider
18: * @see com.sun.portal.providers.ProviderException
19: * @see com.sun.portal.providers.Provider#processEdit
20: * @see java.lang.Exception#getMessage
21: */
22:
23: public class InvalidEditFormDataException extends ProviderException {
24:
25: /**
26: * Constructs a new exception with the specified message, indicating an
27: * error in the data input is entered by the user in the edit page.<br><br>
28: *
29: * @param msg The descriptive message.
30: */
31: public InvalidEditFormDataException(String msg) {
32: super(msg);
33: }
34: }
|