Constructor HarpException
HarpException()
Initializes a new instance of the HarpException class.
public HarpException()
HarpException(string)
Initializes a new instance of the HarpException class with a specified error message.
public HarpException(string message)
Parameters
message
stringThe message that describes the error.
HarpException(string, Exception)
Initializes a new instance of the HarpException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public HarpException(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.
HarpException(HarpMessage)
Initializes a new instance of the HarpException with the specified Harp error message contents.
public HarpException(HarpMessage message)
Parameters
message
HarpMessageThe Harp message which reported the error.