public class SnapinException extends AdminNamespaceException
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
helpID |
protected java.lang.String |
helpSetName |
protected boolean |
reportFlag |
protected int |
severity |
static int |
SEVERITY_ERROR
Possible value for the severity parameter.
|
static int |
SEVERITY_FATAL
Possible value for the severity parameter.
|
static int |
SEVERITY_SEVERE
Possible value for the severity parameter.
|
static int |
SEVERITY_WARN
Possible value for the severity parameter.
|
| Constructor and Description |
|---|
SnapinException()
Creates a SnapinException object with no detailed message.
|
SnapinException(java.lang.String message)
Creates a SnapinException object with a detailed message.
|
SnapinException(java.lang.String message,
boolean reportFlag)
Creates a SnapinException object with a detailed message and sets the
reporting flag.
|
SnapinException(java.lang.String message,
boolean reportFlag,
int severity,
java.lang.String helpSetName,
java.lang.String helpID)
Creates a SnapinException object with a detailed message and sets the
reporting flag, severity, help set name and help ID.
|
SnapinException(java.lang.String message,
boolean reportFlag,
java.lang.String helpSetName)
Creates a SnapinException object with a detailed message and sets the
reporting flag and help set name.
|
SnapinException(java.lang.String message,
boolean reportFlag,
java.lang.String helpSetName,
java.lang.String helpID)
Creates a SnapinException object with a detailed message and sets the
reporting flag, help set name and help ID.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHelpID()
Returns the help ID associated with this exception.
|
java.lang.String |
getHelpSetName()
Returns the help set name associated with this exception.
|
boolean |
getReportFlag()
Returns true if the report flag is turned on for this exception.
|
int |
getSeverity()
Returns the severity of this exception.
|
void |
setHelpID(java.lang.String helpID)
Sets the help ID associated with this exception.
|
void |
setHelpSetName(java.lang.String helpSetName)
Sets the help set name associated with this exception.
|
void |
setReportFlag(boolean reportFlag)
Enable or disable reporting for this exception.
|
void |
setSeverity(int severity)
Assigns a severity to this exception.
|
crackErrorCode, getCause, getErrorCode, setCausepublic static final int SEVERITY_ERROR
public static final int SEVERITY_WARN
public static final int SEVERITY_SEVERE
public static final int SEVERITY_FATAL
protected int severity
protected java.lang.String helpSetName
protected java.lang.String helpID
protected boolean reportFlag
public SnapinException()
public SnapinException(java.lang.String message)
message - The detailed message included with a SnapinException.public SnapinException(java.lang.String message,
boolean reportFlag)
message - The detailed message included with a SnapinException.reportFlag - Pass true if ConsoleOne is to report the error, false otherwise.public SnapinException(java.lang.String message,
boolean reportFlag,
java.lang.String helpSetName)
message - The detailed message included with a SnapinException.reportFlag - Pass true if ConsoleOne is to report the error, false otherwise.helpSetName - Help set name to give the user further details on handling this exception.public SnapinException(java.lang.String message,
boolean reportFlag,
java.lang.String helpSetName,
java.lang.String helpID)
message - The detailed message included with a SnapinException.reportFlag - Pass true if ConsoleOne is to report the error, false otherwise.helpSetName - Help set name to give the user further details on handling this exception.helpID - Help ID associated with this exception.public SnapinException(java.lang.String message,
boolean reportFlag,
int severity,
java.lang.String helpSetName,
java.lang.String helpID)
message - The detailed message included with a SnapinException.reportFlag - Pass true if ConsoleOne is to report the error, false otherwise.severity - Severity of this exception. See the SEVERITY_XXX variables for possible values.helpSetName - Help set name to give the user further details on handling this exception.helpID - Help ID associated with this exception.public int getSeverity()
public java.lang.String getHelpSetName()
public java.lang.String getHelpID()
public void setSeverity(int severity)
severity - Severity of this exceptions.public void setHelpSetName(java.lang.String helpSetName)
helpSetName - Help set name to associate with this exceptionpublic void setHelpID(java.lang.String helpID)
helpID - Help ID to associate with this exceptionpublic void setReportFlag(boolean reportFlag)
reportFlag - Pass true to turn on reporting, false to turn it off.public boolean getReportFlag()
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}.