public abstract class SPIException extends SnapinException
This class must be extended by a factory class.
| Modifier and Type | Field and Description |
|---|---|
protected MessageLinkResourceBundle |
bundle
The resource bundle.
|
helpID, helpSetName, reportFlag, severity, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_SEVERE, SEVERITY_WARN| Modifier | Constructor and Description |
|---|---|
protected |
SPIException(MessageLinkResourceBundle bundle,
boolean reportFlag)
Constructor
|
protected |
SPIException(java.lang.String bundleName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ResourceBundle |
getBundle() |
abstract java.lang.String |
getLocalizedMessage()
Retrieves the error message.
|
java.lang.String |
getMessage() |
void |
setBundle(java.util.ResourceBundle bundle) |
getHelpID, getHelpSetName, getReportFlag, getSeverity, setHelpID, setHelpSetName, setReportFlag, setSeveritycrackErrorCode, getCause, getErrorCode, setCauseprotected MessageLinkResourceBundle bundle
protected SPIException(MessageLinkResourceBundle bundle, boolean reportFlag)
protected SPIException(java.lang.String bundleName)
bundleName - The resource bundle for the errors.public abstract java.lang.String getLocalizedMessage()
throws java.util.MissingResourceException
getLocalizedMessage in class java.lang.Throwablejava.util.MissingResourceExceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.util.ResourceBundle getBundle()
public void setBundle(java.util.ResourceBundle bundle)
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 ${TODAY} ${TSTAMP}.