com.novell.admin.common.exceptions
Class NDSSPIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.admin.common.exceptions.AdminNamespaceException
              extended bycom.novell.application.console.snapin.SnapinException
                  extended bycom.novell.admin.common.exceptions.SPIException
                      extended bycom.novell.admin.common.exceptions.UniqueSPIException
                          extended bycom.novell.admin.common.exceptions.NDSSPIException
All Implemented Interfaces:
java.io.Serializable

public final class NDSSPIException
extends UniqueSPIException

This class is used for SPIExceptions that have return error codes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.admin.common.exceptions.UniqueSPIException
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
NDSSPIException(java.lang.String bundleName)
          Constructor
 
Method Summary
 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.UniqueSPIException
getErrorCode, getFunctionName, getLocalizedMessage
 
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
 

Constructor Detail

NDSSPIException

public NDSSPIException(java.lang.String bundleName)
Constructor

Parameters:
bundleName - The resource bundle for the errors.
Method Detail

newException

public SPIException newException(int errorCode,
                                 java.lang.String funcName)
Creates a UniqueSPIException

Overrides:
newException in class UniqueSPIException
Parameters:
errorCode - The function's return error code.
funcName - The class name of the thrown exception.
Returns:
SPIException

newException

public SPIException newException(int errorCode,
                                 java.lang.String className,
                                 java.lang.String funcName)
Creates a UniqueSPIException

Overrides:
newException in class UniqueSPIException
Parameters:
errorCode - The function's return error code.
className - The class name that threw the exception.
funcName - The class name of the thrown exception.
Returns:
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 September 2 2004 0111.