Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
16 lines (11 loc) · 686 Bytes

File metadata and controls

16 lines (11 loc) · 686 Bytes

Enable.Common.ValidationException

A .NET exception type that represents one or more business logic or validation error conditions.

Build status

Usage

throw new ValidationException();
throw new ValidationException("exception message");
throw new ValidationException("exception message", wrappedException);
throw new ValidationException(new[] { "validation message 1", "validation message 2" });
throw new ValidationException("exception message", new[] { "validation message 1", "validation message 2" });