WebObjects 5.4.2

com.webobjects.directtoweb
Interface ErrorPageInterface

All Known Implementing Classes:
BASErrorPage, D2WErrorPage, NEUErrorPage, WOLErrorPage

public interface ErrorPageInterface

This interface is implemented by pages returned by the D2W method errorPageForEntityNamed. Use methods defined in this interface to initialize a newly created error page.


Method Summary
 void setMessage(String errorMessage)
          Sets the message displayed by the error page.
 void setNextPage(WOComponent nextPage)
          Sets page to display when the user clicks 'Return' in the error page.
 

Method Detail

setMessage

void setMessage(String errorMessage)
Sets the message displayed by the error page.

Parameters:
errorMessage - text displayed in error page

setNextPage

void setNextPage(WOComponent nextPage)
Sets page to display when the user clicks 'Return' in the error page.

Parameters:
nextPage - page returned when 'Return' button is clicked in the page

Last updated June 2008

Copyright © 2000-2008 Apple Inc.