/// <summary> /// /// Creates MartenCommandNotSupportedException based on the reason, command and innerException information with formatted message. /// </summary> /// <param name="reason">reason for feature not being supported</param> /// <param name="command">failed Postgres command</param> /// <param name="innerException">internal exception details</param> /// <param name="message">optional additional exception information</param> public MartenCommandNotSupportedException( NotSupportedReason reason, NpgsqlCommand command, Exception innerException, string message = null ) : base(command, innerException, message) { Reason = reason; }
internal KnownNotSupportedExceptionCause(string description, NotSupportedReason reason, Func <Exception, bool> match) { Description = description; Reason = reason; this.match = match; }
public VersionNotSupportedException(NotSupportedReason reason) { Reason = reason; }
public VersionNotSupportedException(NotSupportedReason reason, string message) : base(message) { Reason = reason; }
public VersionNotSupportedException(NotSupportedReason reason, string message, Exception innerException) : base(message, innerException) { Reason = reason; }