Relativity.DataExchange.ExceptionHelper
Defines static helper methods to perform common exception handling.
namespace Relativity.DataExchange
{
internal static class ExceptionHelper
{
public const int DiskFullHResultHResult = -2147024784;
public const int HandleDiskFullHResult = -2147024857;
public const string IllegalCharactersInPathMessage = "Illegal characters in path.";
public const string TryAgainAdminFatalMessage = "Try again. If the problem persists please contact your system administrator for assistance.";
public const string BatchInProgressMessage = "Batch In Progress";
public static readonly IReadOnlyList<Type> FatalExceptionCandidates;
public static readonly IReadOnlyList<Type> FatalKeplerExceptionCandidates;
public static string AppendTryAgainAdminFatalMessage(string message);
public static string GetDetailedFatalMessage(HttpStatusCode statusCode);
public static string GetDetailedFatalMessage(WebExceptionStatus status);
public static bool IsEndpointNotFound(SoapException exception, string name);
public static bool IsFatalException(Exception exception);
public static bool IsFatalKeplerException(Exception exception);
public static bool IsIllegalCharactersInPathException(Exception exception);
public static bool IsOutOfDiskSpaceException(Exception exception);
public static bool IsFatalWebException(Exception exception);
public static bool IsFatalWebException(WebException exception);
public static bool IsHttpStatusCodeFatalError(HttpStatusCode statusCode);
public static bool IsBatchInProgressException(Exception exception);
public static bool IsSoapEndpointNotFound(Exception exception);
public static bool IsSoapEndpointNotFound(Exception exception, string name);
public static bool IsSuspectedHttpTimeoutException(Exception exception);
public static bool IsWebExceptionStatusCodeFatalError(WebExceptionStatus status);
}
}