public class LDAPSPIException extends SPIException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERR_CODE |
bundlehelpID, helpSetName, reportFlag, severity, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_SEVERE, SEVERITY_WARN| Constructor and Description |
|---|
LDAPSPIException(java.lang.String bundleName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Retrieves the error code for the exception.
|
java.lang.String |
getFunctionName()
Retrieves the name of the function that returned the error code.
|
java.lang.String |
getLocalizedMessage()
Retrieves the error message.
|
SPIException |
newException(int errorCode,
java.lang.String className,
java.lang.String funcName,
java.lang.Throwable throwable)
Creates a LDAPSPIException
|
SPIException |
newException(int errorCode,
java.lang.String funcName,
java.lang.Throwable throwable)
Creates a LDAPSPIException
|
getBundle, getMessage, setBundlegetHelpID, getHelpSetName, getReportFlag, getSeverity, setHelpID, setHelpSetName, setReportFlag, setSeveritycrackErrorCode, getCause, setCausepublic static final java.lang.String ERR_CODE
public LDAPSPIException(java.lang.String bundleName)
bundleName - The resource bundle for the errors.public SPIException newException(int errorCode, java.lang.String funcName, java.lang.Throwable throwable)
errorCode - The function's return error code.funcName - The class name of the thrown exception.throwable - The nested exception (cause)public SPIException newException(int errorCode, java.lang.String className, java.lang.String funcName, java.lang.Throwable throwable)
errorCode - The function's return error code.className - The class name that threw the exception.funcName - The class name of the thrown exception.throwable - The nested exception (cause)public int getErrorCode()
getErrorCode in class AdminNamespaceExceptionpublic java.lang.String getFunctionName()
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}.