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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.as400.ui.framework.java.DisplayManagerException
All Implemented Interfaces:
java.io.Serializable

public class DisplayManagerException
extends java.lang.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, Serialized Form

Method Summary
 void displayUserMessage(java.awt.Component parent)
          Displays a message describing the cause of the error.
static java.lang.String getAppTitle()
          Returns the title used for message box windows.
 java.lang.String getExceptionClassName()
          Returns the class name of the original exception.
 java.lang.String getLocalizedMessage()
          Returns a localized description of this DisplayManagerException.
static void setAppTitle(java.lang.String title)
          Sets the title used for message box windows.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

displayUserMessage

public void displayUserMessage(java.awt.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.
Since:
v4r2m0

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Returns a localized description of this DisplayManagerException.
Overrides:
getLocalizedMessage in class java.lang.Throwable
Since:
v4r2m0

getExceptionClassName

public java.lang.String getExceptionClassName()
Returns the class name of the original exception. This is the error which caused the UI framework to generate this exception.
Since:
v4r2m0

setAppTitle

public static void setAppTitle(java.lang.String title)
Sets the title used for message box windows.
Parameters:
title - the application title
Since:
v4r2m0
See Also:
getAppTitle()

getAppTitle

public static java.lang.String getAppTitle()
Returns the title used for message box windows.
Returns:
the application title
Since:
v4r2m0
See Also:
setAppTitle(java.lang.String)