Class PaymentTransactionFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.orderoperation.service.payment.exception.PaymentTransactionFailureException
-
- All Implemented Interfaces:
Serializable
public class PaymentTransactionFailureException extends RuntimeException
Exception thrown if there was an issue while attempting to execute a payment transaction for an order'sPaymentSummary
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentTransactionFailureException(String message, TransactionExecutionResponse executionResponse)
PaymentTransactionFailureException(String message, Throwable cause)
PaymentTransactionFailureException(String message, Throwable cause, TransactionExecutionResponse executionResponse)
PaymentTransactionFailureException(Throwable cause, TransactionExecutionResponse executionResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionExecutionResponse
getExecutionResponse()
TheTransactionExecutionResponse
from the attempted payment transaction execution.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PaymentTransactionFailureException
public PaymentTransactionFailureException(String message, @Nullable TransactionExecutionResponse executionResponse)
-
PaymentTransactionFailureException
public PaymentTransactionFailureException(Throwable cause, @Nullable TransactionExecutionResponse executionResponse)
-
PaymentTransactionFailureException
public PaymentTransactionFailureException(String message, Throwable cause, @Nullable TransactionExecutionResponse executionResponse)
-
-
Method Detail
-
getExecutionResponse
@Nullable public TransactionExecutionResponse getExecutionResponse()
TheTransactionExecutionResponse
from the attempted payment transaction execution.- Returns:
- the
TransactionExecutionResponse
from the attempted payment transaction execution
-
-