DynamicDOM v0.43.2. Implementation based on XRules v0.43

RuleViolationException Constructor (String, Exception, RuleError)

Constructs a new exception with the message specified by 'strMessage', having the inner exception 'innerException'.

[Visual Basic]
Public Sub New( _ 
   ByVal strMessage As String, _ 
   ByVal innerException As Exception, _ 
   ByVal error As RuleError _ 
)
[C#]
public RuleViolationException(
   string strMessage,
   Exception innerException,
   RuleError error
);
[C++]
public: RuleViolationException(
   String* strMessage,
   Exception* innerException,
   RuleError* error
);
[JScript]
public function RuleViolationException(
   String strMessage,
   Exception innerException,
   RuleError error
);

Parameters

strMessage
A string containing the message of the exception
innerException
A reference to the inner exception of this exception.
error
A RuleError object containing information about the error that caused the exception to be raised.

See Also

RuleViolationException Class | XRules Namespace | RuleViolationException Constructor Overload List