All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.ui.framework.java.DisplayManagerException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.ibm.as400.ui.framework.java.DisplayManagerException

public class DisplayManagerException
extends Exception
Thrown when an error is encountered accessing a user interface panel definition. DisplayManagerException can display a translated user message describing the cause of the error.

See Also:
PanelManager, PropertySheetManager, WizardManager, DeckPaneManager, SplitPaneManager, TabbedPaneManager

Method Index

 o displayUserMessage(Component)
Displays a message describing the cause of the error.
 o getAppTitle()
Returns the title used for message box windows.
 o getExceptionClassName()
Returns the class name of the original exception.
 o getLocalizedMessage()
Returns a localized description of this DisplayManagerException.
 o setAppTitle(String)
Sets the title used for message box windows.

Methods

 o displayUserMessage
 public void displayUserMessage(Component parent)
Displays a message describing the cause of the error.

Parameters:
parent - Determines the Frame in which the dialog is displayed. If null, or if the parent component has no Frame, a default Frame is used.
 o getLocalizedMessage
 public String getLocalizedMessage()
Returns a localized description of this DisplayManagerException.

Overrides:
getLocalizedMessage in class Throwable
 o getExceptionClassName
 public String getExceptionClassName()
Returns the class name of the original exception. This is the error which caused the UI framework to generate this exception.

 o setAppTitle
 public static void setAppTitle(String title)
Sets the title used for message box windows.

Parameters:
title - the application title
See Also:
getAppTitle
 o getAppTitle
 public static String getAppTitle()
Returns the title used for message box windows.

Returns:
the application title
See Also:
setAppTitle

All Packages  Class Hierarchy  This Package  Previous  Next  Index