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

RuleViolationException Constructor

The default constructor of the class.

Overload List

The default constructor of the class.

[Visual Basic] Public Sub New()
[C#] public RuleViolationException();
[C++] public: RuleViolationException();
[JScript] public function RuleViolationException();

This constructor is called during deserialization to reconstitute the exception object trasmitted over a stream.

[Visual Basic] Public Sub New(ByVal SerializationInfo,ByVal StreamingContext)
[C#] public RuleViolationException(SerializationInfo,StreamingContext);
[C++] public: RuleViolationException(SerializationInfo*,StreamingContext);
[JScript] public function RuleViolationException(SerializationInfo,StreamingContext);

Constructs a new exception with the message specified by 'strMessage'.

[Visual Basic] Public Sub New(ByVal String)
[C#] public RuleViolationException(string);
[C++] public: RuleViolationException(String*);
[JScript] public function RuleViolationException(String);

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

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

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

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

Constructs a new exception with the message specified by 'strMessage'.

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

The default constructor of the class.

[Visual Basic] Public Sub New(ByVal RuleError)
[C#] public RuleViolationException(RuleError);
[C++] public: RuleViolationException(RuleError*);
[JScript] public function RuleViolationException(RuleError);

See Also

RuleViolationException Class | XRules Namespace