Package com.netscape.certsrv.selftests
Class EMissingSelfTestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.netscape.certsrv.base.EBaseException
-
- com.netscape.certsrv.selftests.ESelfTestException
-
- com.netscape.certsrv.selftests.EMissingSelfTestException
-
- All Implemented Interfaces:
java.io.Serializable
public class EMissingSelfTestException extends ESelfTestException
This class implements a missing self test exception. EMissingSelfTestExceptions are derived from ESelfTestExceptions in order to allow users to easily do self tests without try-catch clauses. EMissingSelfTestExceptions should be caught by SelfTestSubsystem managers.- Version:
- $Revision$, $Date$
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.netscape.certsrv.base.EBaseException
mParams
-
-
Constructor Summary
Constructors Constructor Description EMissingSelfTestException()
Constructs a "missing" self test exception where the name is nullEMissingSelfTestException(java.lang.String instanceName)
Constructs a "missing" self test exception where the name is always missing from a name/value pair.EMissingSelfTestException(java.lang.String instanceName, java.lang.String instanceValue)
Constructs a "missing" self test exception where the value is always missing from a name/value pair; (the value passed in is always null).EMissingSelfTestException(java.lang.String instanceStore, java.lang.String instanceParameter, java.lang.String instanceValue)
Constructs a "missing" self test exception where the parameter is always missing from a substore.parameter/value pair; (the value passed in may be null).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInstanceName()
Returns the instance name associated with this self test.java.lang.String
getInstanceParameter()
Returns the parameter associated with this self test.java.lang.String
getInstanceStore()
Returns the store associated with this self test.java.lang.String
getInstanceValue()
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
-
-
-
-
Constructor Detail
-
EMissingSelfTestException
public EMissingSelfTestException()
Constructs a "missing" self test exception where the name is null
-
EMissingSelfTestException
public EMissingSelfTestException(java.lang.String instanceName)
Constructs a "missing" self test exception where the name is always missing from a name/value pair.- Parameters:
instanceName
- missing "instanceName" exception details
-
EMissingSelfTestException
public EMissingSelfTestException(java.lang.String instanceName, java.lang.String instanceValue)
Constructs a "missing" self test exception where the value is always missing from a name/value pair; (the value passed in is always null).- Parameters:
instanceName
- missing "instanceName" exception detailsinstanceValue
- missing "instanceValue" exception details (always null)
-
EMissingSelfTestException
public EMissingSelfTestException(java.lang.String instanceStore, java.lang.String instanceParameter, java.lang.String instanceValue)
Constructs a "missing" self test exception where the parameter is always missing from a substore.parameter/value pair; (the value passed in may be null).- Parameters:
instanceStore
- missing "instanceStore" exception detailsinstanceParameter
- missing "instanceParameter" exception detailsinstanceValue
- missing "instanceValue" exception details (may be null)
-
-
Method Detail
-
getInstanceName
public java.lang.String getInstanceName()
Returns the instance name associated with this self test.- Returns:
- name portion of the name/value pair
-
getInstanceStore
public java.lang.String getInstanceStore()
Returns the store associated with this self test.- Returns:
- substore portion of the substore.parameter/value pair
-
getInstanceParameter
public java.lang.String getInstanceParameter()
Returns the parameter associated with this self test.- Returns:
- parameter portion of the substore.parameter/value pair
-
getInstanceValue
public java.lang.String getInstanceValue()
Returns the value associated with this self test.- Returns:
- value portion of the name/value pair
-
-