C# Класс PayPal.PayPalException

Represents an error that occurred in the PayPal SDK.
Наследование: System.Exception
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

LogDefaultMessage() защищенный Метод

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.
Результат void

LogMessage() защищенный Метод

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.
Результат void

LogMessage() защищенный Метод

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.
Результат void

PayPalException() публичный Метод

Initializes a new PayPalException with no exception details set.
public PayPalException ( ) : PayPal.Log
Результат PayPal.Log

PayPalException() защищенный Метод

Copy constructor provided by convenience for derived classes.
protected PayPalException ( PayPalException ex ) : PayPal.Log
ex PayPalException The original exception to copy information from.
Результат PayPal.Log

PayPalException() публичный Метод

Represents errors that occur during application execution
public PayPalException ( string message ) : PayPal.Log
message string The message that describes the error
Результат PayPal.Log

PayPalException() публичный Метод

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
Результат PayPal.Log