Table of Contents

Class ExceptionsHelper

Namespace: Casewhere.Common.Exceptions
Assembly: Casewhere.Common.dll

public static class ExceptionsHelper

Inheritance

objectExceptionsHelper

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object)

Methods

GetArgumentException(string, string, Type, string, Exception)

public static Exception GetArgumentException(string paramName, string msg, Type type, string method, Exception innerException)

Parameters

paramName string

msg string

type Type

method string

innerException Exception

Returns

Exception

GetArgumentException(string, string, Type, string)

public static Exception GetArgumentException(string paramName, string msg, Type type, string method)

Parameters

paramName string

msg string

type Type

method string

Returns

Exception

GetArgumentNullException(string, Type, string)

public static Exception GetArgumentNullException(string paramName, Type type, string method)

Parameters

paramName string

type Type

method string

Returns

Exception

GetConfigurationErrorsException(string, Type, string)

public static Exception GetConfigurationErrorsException(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

GetDirectoryNotFoundException(Type, string)

public static Exception GetDirectoryNotFoundException(Type type, string method)

Parameters

type Type

method string

Returns

Exception

GetInvalidOperationException(string, Type, string)

public static Exception GetInvalidOperationException(string msg, Type type, string method)

Parameters

msg string

type Type

method string

Returns

Exception

GetNotSupportedException(string, Type, string)

public static Exception GetNotSupportedException(string msg, Type type, string method)

Parameters

msg string

type Type

method string

Returns

Exception

GetSaml2CertificateException(string, Type, string, Exception)

public static Exception GetSaml2CertificateException(string message, Type type, string method, Exception innerException)

Parameters

message string

type Type

method string

innerException Exception

Returns

Exception

GetSaml2CertificateException(string, Type, string)

public static Exception GetSaml2CertificateException(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

GetSaml2HandlerException(string, Type, string, Exception)

public static Exception GetSaml2HandlerException(string message, Type type, string method, Exception innerException)

Parameters

message string

type Type

method string

innerException Exception

Returns

Exception

GetSaml2HandlerException(string, Type, string)

public static Exception GetSaml2HandlerException(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

GetSaml2SignatureException(string, Type, string)

public static Exception GetSaml2SignatureException(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

GetSaml2StatusCodeException(string, Type, string, StatusCode, string)

public static Exception GetSaml2StatusCodeException(string message, Type type, string method, StatusCode statusCode, string statusMessage)

Parameters

message string

type Type

method string

statusCode StatusCode

statusMessage string

Returns

Exception

GetSaml2StatusCodeException1(string, Type, string)

public static Exception GetSaml2StatusCodeException1(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

GetXmlException(string, Type, string)

public static Exception GetXmlException(string message, Type type, string method)

Parameters

message string

type Type

method string

Returns

Exception

ThrowBadDataExceptionIfNull(object, string, Type, string)

public static void ThrowBadDataExceptionIfNull(object checkObj, string msg, Type type, string method)

Parameters

checkObj object

msg string

type Type

method string