|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YAXLib
{
/// <summary>
/// Enumerates different kinds of exception handling policies as used by YAX Library.
/// </summary>
public enum YAXExceptionHandlingPolicies
{
/// <summary>
/// Throws Both Warnings And Errors
/// </summary>
ThrowWarningsAndErrors,
/// <summary>
/// Throws Errors only (default)
/// </summary>
ThrowErrorsOnly,
/// <summary>
/// Does not throw exceptions, the errors can be accessed via the YAXParsingErrors instance
/// </summary>
DoNotThrow
}
/// <summary>
/// Enumerates different possible behaviours of the library toward exceptions
/// </summary>
public enum YAXExceptionTypes
{
/// <summary>
/// Treat exception as a warning
/// </summary>
Warning,
/// <summary>
/// Treat exception as an error
/// </summary>
Error
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.