Package com.netscape.certsrv.selftests
Class EInvalidSelfTestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.netscape.certsrv.base.EBaseException
com.netscape.certsrv.selftests.ESelfTestException
com.netscape.certsrv.selftests.EInvalidSelfTestException
- All Implemented Interfaces:
Serializable
This class implements an invalid self test exception.
EInvalidSelfTestExceptions are derived from ESelfTestExceptions
in order to allow users to easily do self tests without try-catch clauses.
EInvalidSelfTestExceptions should be caught by SelfTestSubsystem managers.
- Version:
- $Revision$, $Date$
- See Also:
-
Field Summary
Fields inherited from class com.netscape.certsrv.base.EBaseException
mParams
-
Constructor Summary
ConstructorsConstructorDescriptionEInvalidSelfTestException
(String instanceName) Constructs an "invalid" self test exception.EInvalidSelfTestException
(String instanceName, String instanceValue) Constructs a "invalid" self test exception where the value is always invalid from a name/value pairEInvalidSelfTestException
(String instanceStore, String instanceParameter, String instanceValue) Constructs an "invalid" self test exception where the parameter is always invalid from a substore.parameter/value pair; (the value passed in may be null). -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance name associated with this self test.Returns the parameter associated with this self test.Returns the store associated with this self test.Returns the value associated with this self test.Methods inherited from class com.netscape.certsrv.selftests.ESelfTestException
getBundleName
Methods inherited from class com.netscape.certsrv.base.EBaseException
getParameters, toString, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
EInvalidSelfTestException
Constructs an "invalid" self test exception.- Parameters:
instanceName
- invalid "instanceName" exception details
-
EInvalidSelfTestException
Constructs a "invalid" self test exception where the value is always invalid from a name/value pair- Parameters:
instanceName
- invalid "instanceName" exception detailsinstanceValue
- invalid "instanceValue" exception details
-
EInvalidSelfTestException
public EInvalidSelfTestException(String instanceStore, String instanceParameter, String instanceValue) Constructs an "invalid" self test exception where the parameter is always invalid from a substore.parameter/value pair; (the value passed in may be null).- Parameters:
instanceStore
- invalid "instanceStore" exception detailsinstanceParameter
- invalid "instanceParameter" exception detailsinstanceValue
- invalid "instanceValue" exception details (may be null)
-
-
Method Details
-
getInstanceName
Returns the instance name associated with this self test.- Returns:
- name portion of the name/value pair
-
getInstanceStore
Returns the store associated with this self test.- Returns:
- substore portion of the substore.parameter/value pair
-
getInstanceParameter
Returns the parameter associated with this self test.- Returns:
- parameter portion of the substore.parameter/value pair
-
getInstanceValue
Returns the value associated with this self test.- Returns:
- value portion of the name/value pair
-