com.sun.portal.providers
Class InvalidEditFormDataException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.portal.providers.ProviderException
                    |
                    +--com.sun.portal.providers.InvalidEditFormDataException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AsciiFormInputExpectedException

public class InvalidEditFormDataException
extends ProviderException

This exception (or a subclass of) should be thrown from the Provider.processEdit method when there is an error in the data input by the user.

Upon catching this exception, the desktop will return the user to the provider's edit page, and insert into the page the result of this class's getMessage() method.

See Also:
ProfileProviderAdapter, Provider, ProviderException, Provider.processEdit(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse), Throwable.getMessage(), Serialized Form

Constructor Summary
InvalidEditFormDataException(String msg)
          Constructs a new exception with the specified message, indicating an error in the data input is entered by the user in the edit page.

 
Methods inherited from class com.sun.portal.providers.ProviderException
getWrapped, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidEditFormDataException

public InvalidEditFormDataException(String msg)
Constructs a new exception with the specified message, indicating an error in the data input is entered by the user in the edit page.

Parameters:
msg - The descriptive message.