com.novell.admin.common.exceptions
Class SPIException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.novell.application.console.snapin.SnapinException
                    |
                    +--com.novell.admin.common.exceptions.SPIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SimpleSPIException, UniqueSPIException

public abstract class SPIException
extends SnapinException

This class is used for exceptions that can be thrown by the Service Provider Interface (SPI) code layer.

This class must be extended by a factory class.


Field Summary
protected  MessageLinkResourceBundle bundle
          The resource bundle.
 
Fields inherited from class com.novell.application.console.snapin.SnapinException
SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_SEVERE, SEVERITY_WARN
 
Constructor Summary
protected SPIException(MessageLinkResourceBundle bundle, boolean reportFlag)
          Constructor
protected SPIException(java.lang.String bundleName)
          Constructor
 
Method Summary
abstract  java.lang.String getLocalizedMessage()
          Retrieves the error message.
 java.lang.String getMessage()
           
 
Methods inherited from class com.novell.application.console.snapin.SnapinException
getHelpID, getHelpSetName, getReportFlag, getSeverity, setHelpID, setHelpSetName, setReportFlag, setSeverity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bundle

protected MessageLinkResourceBundle bundle
The resource bundle.
Constructor Detail

SPIException

protected SPIException(MessageLinkResourceBundle bundle,
                       boolean reportFlag)
Constructor

SPIException

protected SPIException(java.lang.String bundleName)
Constructor
Parameters:
bundleName - The resource bundle for the errors.
Method Detail

getLocalizedMessage

public abstract java.lang.String getLocalizedMessage()
                                              throws java.util.MissingResourceException
Retrieves the error message.
Returns:
the error message.
Overrides:
getLocalizedMessage in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


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