com.novell.emframe.dev
Class PageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.emframe.dev.PluginException
              extended bycom.novell.emframe.dev.PageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FatalPageException

public class PageException
extends PluginException

Exception generated by Property Pages.

See Also:
Serialized Form

Constructor Summary
PageException(java.lang.Exception e)
          Constructs an exception with a root cause.
PageException(java.lang.String header, java.lang.String body)
          Constructs an exception with only a header and body.
PageException(java.lang.String header, java.lang.String body, java.lang.String boldText)
          An exception for authentication errors.
 
Methods inherited from class com.novell.emframe.dev.PluginException
getBody, getBoldText, getErrorCode, getException, getHeader, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageException

public PageException(java.lang.Exception e)
Constructs an exception with a root cause.

Parameters:
e - - Allow default error handling to take place; SPI and Namespace exceptions will show nice error message; others will show a system error and a stack trace (in a details button)

PageException

public PageException(java.lang.String header,
                     java.lang.String body)
Constructs an exception with only a header and body.

Parameters:
header - The error header; if this parameter is null, the header is "Error"
body - The body of the error; for example: "{0} is not a valid user"

PageException

public PageException(java.lang.String header,
                     java.lang.String body,
                     java.lang.String boldText)
An exception for authentication errors. This exception is useful when you have messages like "Al.novell is not a valid user." Parameters in the error text can be bolded, such as usernames and other erroneous data.

Parameters:
header - The error header; if this parameter is null, the header is "Error"
body - The body of the error; for example: "{0} is not a valid user"
boldText - The text to be bolded; for example: "Al.novell"


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.