Class ErrorPage

java.lang.Object
  |
  +--AbstractBox
        |
        +--AbstractFlexibleBox
              |
              +--VerticalBoxStack
                    |
                    +--ErrorPage
All Implemented Interfaces:
Box, FlexibleBox

public class ErrorPage
extends VerticalBoxStack

This class is used to generage error-pages.


Fields inherited from class AbstractFlexibleBox
boxes
 
Fields inherited from class AbstractBox
height, min_width, pref_width, width
 
Constructor Summary
ErrorPage(java.lang.String m, java.net.URL url)
          Generates a page with an error-message.
 
Methods inherited from class VerticalBoxStack
doLayout, drawAt, getMinimumWidth, getPreferredWidth
 
Methods inherited from class AbstractFlexibleBox
insert, isEmpty
 
Methods inherited from class AbstractBox
getHeight, getWidth, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Box
getHeight, getWidth, toString
 

Constructor Detail

ErrorPage

public ErrorPage(java.lang.String m,
                 java.net.URL url)
Generates a page with an error-message.
Parameters:
m - the errormessage.
url - the url of the current page. A link is made to the page, so that people can try again if they want.