Class ExceptionsHelper
Namespace: Casewhere.Common.Exceptions
Assembly: Casewhere.Common.dll
public static class ExceptionsHelper
Inheritance
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
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
GetArgumentNullException(string, Type, string)
public static Exception GetArgumentNullException(string paramName, Type type, string method)
Parameters
paramName string
type Type
method string
Returns
GetConfigurationErrorsException(string, Type, string)
public static Exception GetConfigurationErrorsException(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
GetDirectoryNotFoundException(Type, string)
public static Exception GetDirectoryNotFoundException(Type type, string method)
Parameters
type Type
method string
Returns
GetInvalidOperationException(string, Type, string)
public static Exception GetInvalidOperationException(string msg, Type type, string method)
Parameters
msg string
type Type
method string
Returns
GetNotSupportedException(string, Type, string)
public static Exception GetNotSupportedException(string msg, Type type, string method)
Parameters
msg string
type Type
method string
Returns
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
GetSaml2CertificateException(string, Type, string)
public static Exception GetSaml2CertificateException(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
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
GetSaml2HandlerException(string, Type, string)
public static Exception GetSaml2HandlerException(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
GetSaml2SignatureException(string, Type, string)
public static Exception GetSaml2SignatureException(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
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
GetSaml2StatusCodeException1(string, Type, string)
public static Exception GetSaml2StatusCodeException1(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
GetXmlException(string, Type, string)
public static Exception GetXmlException(string message, Type type, string method)
Parameters
message string
type Type
method string
Returns
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