public final class SimpleSPIException extends SPIException
bundlehelpID, helpSetName, reportFlag, severity, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_SEVERE, SEVERITY_WARN| Constructor and Description |
|---|
SimpleSPIException(java.lang.String bundleName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorId() |
java.lang.String |
getLocalizedMessage()
Returns an error message.
|
SPIException |
newException(java.lang.Exception e) |
SPIException |
newException(java.lang.String error)
Returns a SimpleSPIException
|
SPIException |
newException(java.lang.String error,
boolean reportFlag) |
SPIException |
newException(java.lang.String error,
java.lang.String xtraMsg) |
getBundle, getMessage, setBundlegetHelpID, getHelpSetName, getReportFlag, getSeverity, setHelpID, setHelpSetName, setReportFlag, setSeveritycrackErrorCode, getCause, getErrorCode, setCausepublic SimpleSPIException(java.lang.String bundleName)
bundleName - The resource bundle for the errors.public java.lang.String getErrorId()
public SPIException newException(java.lang.String error)
error - The error code.public SPIException newException(java.lang.String error, java.lang.String xtraMsg)
public SPIException newException(java.lang.String error, boolean reportFlag)
public SPIException newException(java.lang.Exception e)
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class SPIException
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}.