Class ProcessNotEvaluatedException
- Namespace
- Loehnert.TypeAndResult.Exceptions
- Assembly
- Loehnert.TypeAndResult.dll
An exception that is thrown when not all processes are evaluated.
[Serializable]
public class ProcessNotEvaluatedException : Exception, ISerializable, _Exception
- Inheritance
-
ProcessNotEvaluatedException
- Implements
- Inherited Members
Constructors
ProcessNotEvaluatedException()
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException()
ProcessNotEvaluatedException(IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(IEnumerable<Process> notEvaluatedProcesses, MeasureCycle measureCycle)
Parameters
notEvaluatedProcesses
IEnumerable<Process>An enumeration of the not measured attributes.
measureCycle
MeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluatedProcesses
ormeasureCycle
is null.
ProcessNotEvaluatedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ProcessNotEvaluatedException class with serialized data.
protected ProcessNotEvaluatedException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is null.- SerializationException
The class name is null or HResult is zero (0).
ProcessNotEvaluatedException(string)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
ProcessNotEvaluatedException(string, IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, IEnumerable<Process> notEvaluatedProcesses, MeasureCycle measureCycle)
Parameters
message
stringThe error message that explains the reason for the exception.
notEvaluatedProcesses
IEnumerable<Process>An enumeration of the not measured attributes.
measureCycle
MeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluatedProcesses
ormeasureCycle
is null.
ProcessNotEvaluatedException(string, Exception)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, Exception innerException)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
ProcessNotEvaluatedException(string, Exception, IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, Exception innerException, IEnumerable<Process> notEvaluated, MeasureCycle measureCycle)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
notEvaluated
IEnumerable<Process>An enumeration of the not measured attributes.
measureCycle
MeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluated
ormeasureCycle
is null.
Properties
MeasureCycle
Gets the measure cycle.
public MeasureCycle MeasureCycle { get; }
Property Value
Message
Gets the localized exception message.
public override string Message { get; }
Property Value
NotEvaluatedProcesses
Gets the not measured processes.
public IEnumerable<Process> NotEvaluatedProcesses { get; }