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 com.novell.application.console.snapin.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.
| Fields inherited from class com.novell.application.console.snapin.SnapinException |
SEVERITY_ERROR,
SEVERITY_FATAL,
SEVERITY_SEVERE,
SEVERITY_WARN |
| 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 |
bundle
protected MessageLinkResourceBundle bundle
- The resource bundle.
SPIException
protected SPIException(MessageLinkResourceBundle bundle,
boolean reportFlag)
- Constructor
SPIException
protected SPIException(java.lang.String bundleName)
- Constructor
- Parameters:
bundleName - The resource bundle for the errors.
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.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.