com.novell.admin.common.exceptions
Class SPIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.admin.common.exceptions.AdminNamespaceException
              extended bycom.novell.application.console.snapin.SnapinException
                  extended bycom.novell.admin.common.exceptions.SPIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LDAPSPIException, 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.

See Also:
Serialized Form

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, 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
 

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.
Throws:
java.util.MissingResourceException

getMessage

public java.lang.String getMessage()


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.