GoCardlessException Class |
Namespace: NetQuarry.Services.Payment
The GoCardlessException type exposes the following members.
Name | Description | |
---|---|---|
GoCardlessException(String) |
Minimal constructor.
| |
GoCardlessException(String, Exception) |
Standard constructor when no additional developer information is desired.
| |
GoCardlessException(String, String, Exception) |
Standard constructor when additional developer information is desired.
| |
GoCardlessException(String, String, Exception, ExceptionOptions) |
Full constructor allowing for a developer message and/or exception options.
|
Name | Description | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
DeveloperMessage |
Gets/sets any developer-specific message content.
(Inherited from EAPException.) | |
DoNotLogToRequestLog |
Specifies that this exception does not need to be logged to xot_request_log. Note that it DOES NOT prevent the
error from being logged as part of normal request logging. It DOES, however, prevent special logging of continuable
errors that occur in the middle of a request. The primary example of this is a custom validation error raised during
a WizardNext event.
See DoNotLogToRequestLog.
(Inherited from EAPException.) | |
error |
The error from GoCardless.
| |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
IsActionError |
This exception is the result of a user action. When encountered in an area of code where errors would
typically be presented in-line (e.g. rendering console pane content) the exception should be handled
as a normal user error. This typically means presenting the user with an error alert or message box.
Note that an EAPActionException may be used as a wrapper around a non-action exception
to signal that the inner exception was encountered in such an area.
(Inherited from EAPException.) | |
IsSensitive |
Specifies whether this exception, or any of its inner exceptions, may contain sensitive information that should be suppressed
when when UnhandledErrorSuppressions is enabled.
See IsSensitive.
(Inherited from EAPException.) | |
Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
SuppressInner |
Specifies whether or not any inner exceptions should be suppressed when generating a non-developer user error message.
See SuppressInner.
(Inherited from EAPException.) | |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | |
GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Creates and returns a string representation of the current exception.
The string is intended to look just like the standard Exception.ToString() output except
that it includes DeveloperMessage, if any.
(Inherited from EAPException.) |
Name | Description | |
---|---|---|
SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |
Name | Description | |
---|---|---|
ContainsException |
Determines whether or not the exception or one of its nested internal exceptions is of the specified exception type.
For example: bool isAuth = ex.ContainsException(typeof(System.Security.Authentication.AuthenticationException)); (Defined by ExceptionExtensions.) | |
DeveloperMessage |
Gets any developer-specific message content from DeveloperMessage.
(Defined by ExceptionExtensions.) | |
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) | |
IsAuthenticationException |
Determines if the exception or one of its nested internal exceptions is an authentication exception.
Currently only AuthenticationException is recognized.
(Defined by ExceptionExtensions.) | |
IsDBException |
Determines if the exception is a database provider originated exception.
Currently only SqlException is recognized.
(Defined by ExceptionExtensions.) | |
MayRequireSuppression |
Determines whether this exception, (or any of its inner exceptions if considerEntireExceptionStack is specified),
may contain sensitive information that should be suppressed when when UnhandledErrorSuppression is enabled.
Currently exceptions where IsDBException(Exception) is true and EAPException exceptions with
IsSensitive set are considered to require suppression.
(Defined by ExceptionExtensions.) | |
SuppressInner |
Gets whether or not this exception has been marked to suppress inner exceptions when generating a non-developer user error messages.
See SuppressInner.
(Defined by ExceptionExtensions.) | |
VerboseMessage |
Gets a verbose string representation of the exception.
The string is intended to look just like the standard .Net Exception.ToString() output except
that it includes DeveloperMessage, if any, if the exception implements
the IEAPExtendedException interface (as does the EAPException class used as the
base class for most platform exceptions).
As with the standard .Net Exception.ToString() method, the returned string will include the stack trace
and the verbose message for any internal exceptions (recursively).
(Defined by ExceptionExtensions.) |