WebObjects 5.2.3

com.webobjects.directtoweb
Interface ErrorPageInterface

All Known Implementing Classes:
D2WErrorPage

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

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

Parameters:
errorMessage - text displayed in error page

setNextPage

public 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 Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.