com.novell.admin.common.ui
Class NSPIExceptionMsgBox

java.lang.Object
  |
  +--com.novell.admin.common.ui.NSPIExceptionMsgBox

public final class NSPIExceptionMsgBox
extends java.lang.Object

NSPIExceptionMsgBox - Is used as a common class for displaying SPIExceptions.


Constructor Summary
NSPIExceptionMsgBox(Shell shell, SPIException e)
          Constructor.
NSPIExceptionMsgBox(Shell shell, SPIException e, java.lang.String msg)
          Constructor - Takes an additional message parameter to display after the SPIException message.
NSPIExceptionMsgBox(Shell shell, SPIException e, java.lang.String msg, int type)
          Constructor - Takes an additional message parameter to display after the SPIException message.
 
Method Summary
 int getPressedButton()
          GetPressedButton - calls the NMsgBox getPressedButton method
 int launch()
          Launch - calls the NMsgBox launch method returning the results
 void setVisible(boolean b)
          setVisible - calls the NMsgBox setVisible method
 void show()
          show - calls the NMsgBox show method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSPIExceptionMsgBox

public NSPIExceptionMsgBox(Shell shell,
                           SPIException e)
Constructor.

NSPIExceptionMsgBox

public NSPIExceptionMsgBox(Shell shell,
                           SPIException e,
                           java.lang.String msg)
Constructor - Takes an additional message parameter to display after the SPIException message.

NSPIExceptionMsgBox

public NSPIExceptionMsgBox(Shell shell,
                           SPIException e,
                           java.lang.String msg,
                           int type)
Constructor - Takes an additional message parameter to display after the SPIException message. and allows for a type to be passed in.
Method Detail

launch

public int launch()
Launch - calls the NMsgBox launch method returning the results

show

public void show()
show - calls the NMsgBox show method

setVisible

public void setVisible(boolean b)
setVisible - calls the NMsgBox setVisible method

getPressedButton

public int getPressedButton()
GetPressedButton - calls the NMsgBox getPressedButton method


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.