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
messagestringThe 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
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe 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
messageHarpMessageThe Harp message which reported the error.