|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.novell.admin.common.exceptions.AdminNamespaceException
com.novell.application.console.snapin.SnapinException
com.novell.admin.common.exceptions.SPIException
com.novell.admin.common.exceptions.UniqueSPIException
This class is used for SPIExceptions that have return error codes.
Field Summary | |
static java.lang.String |
ERR_CODE
|
Fields inherited from class com.novell.admin.common.exceptions.SPIException |
bundle |
Fields inherited from class com.novell.application.console.snapin.SnapinException |
SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_SEVERE, SEVERITY_WARN |
Constructor Summary | |
protected |
UniqueSPIException(MessageLinkResourceBundle bundle,
int errorCode,
java.lang.String className,
java.lang.String funcName)
Constructor |
|
UniqueSPIException(java.lang.String bundleName)
Constructor |
Method Summary | |
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 funcName)
Creates a UniqueSPIException |
SPIException |
newException(int errorCode,
java.lang.String className,
java.lang.String funcName)
Creates a UniqueSPIException |
Methods inherited from class com.novell.admin.common.exceptions.SPIException |
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 |
public static final java.lang.String ERR_CODE
Constructor Detail |
protected UniqueSPIException(MessageLinkResourceBundle bundle, int errorCode, java.lang.String className, java.lang.String funcName)
errorCode
- The function's return error code.className
- The class name that threw the exception.funcName
- The class name of the thrown exception.public UniqueSPIException(java.lang.String bundleName)
bundleName
- The resource bundle for the errors.Method Detail |
public int getErrorCode()
public java.lang.String getFunctionName()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class SPIException
public SPIException newException(int errorCode, java.lang.String funcName)
errorCode
- The function's return error code.funcName
- The class name of the thrown exception.
public SPIException newException(int errorCode, java.lang.String className, java.lang.String funcName)
errorCode
- The function's return error code.className
- The class name that threw the exception.funcName
- The class name of the thrown exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |