C# Class PayPal.PayPalException

Represents an error that occurred in the PayPal SDK.
Inheritance: System.Exception
Afficher le fichier Open project: paypal/PayPal-NET-SDK Class Usage Examples

Méthodes publiques

Méthode Description
PayPalException ( ) : PayPal.Log

Initializes a new PayPalException with no exception details set.

PayPalException ( string message ) : PayPal.Log

Represents errors that occur during application execution

PayPalException ( string message, System cause ) : PayPal.Log

Initializes a new PayPalException and sets the exception message and cause.

Méthodes protégées

Méthode Description
LogDefaultMessage ( string message ) : void

Helper method for logging a message when this object is created. Derived classes can override this to log more specific exception information without cluttering up the logfile.

LogMessage ( string message ) : void

Helper method that logs a message related to this exception to the logfile.

LogMessage ( string message, System ex ) : void

Helper method that logs a message related to this exception to the logfile.

PayPalException ( PayPalException ex ) : PayPal.Log

Copy constructor provided by convenience for derived classes.

Method Details

LogDefaultMessage() protected méthode

Helper method for logging a message when this object is created. Derived classes can override this to log more specific exception information without cluttering up the logfile.
protected LogDefaultMessage ( string message ) : void
message string The message to be logged.
Résultat void

LogMessage() protected méthode

Helper method that logs a message related to this exception to the logfile.
protected LogMessage ( string message ) : void
message string The exception message to be logged.
Résultat void

LogMessage() protected méthode

Helper method that logs a message related to this exception to the logfile.
protected LogMessage ( string message, System ex ) : void
message string The exception message to be logged.
ex System Optional System.Exception object to include in the log message.
Résultat void

PayPalException() public méthode

Initializes a new PayPalException with no exception details set.
public PayPalException ( ) : PayPal.Log
Résultat PayPal.Log

PayPalException() protected méthode

Copy constructor provided by convenience for derived classes.
protected PayPalException ( PayPalException ex ) : PayPal.Log
ex PayPalException The original exception to copy information from.
Résultat PayPal.Log

PayPalException() public méthode

Represents errors that occur during application execution
public PayPalException ( string message ) : PayPal.Log
message string The message that describes the error
Résultat PayPal.Log

PayPalException() public méthode

Initializes a new PayPalException and sets the exception message and cause.
public PayPalException ( string message, System cause ) : PayPal.Log
message string The message that describes the error
cause System The exception that is the cause of the current exception
Résultat PayPal.Log