Package 

Class PaymentException

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final PaymentError error
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      PaymentError getError() Gets the encapsulated error.
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaymentException

        PaymentException(PaymentError error)
        Creates a new PaymentException and encapsulates the given error.
        Parameters:
        error - The error to encapsulate
      • PaymentException

        PaymentException(PaymentError error, Throwable cause)
        Creates a new PaymentException and encapsulates the given error and the underlying root cause.
        Parameters:
        error - PaymentError describing the the cause
        cause - Underlying cause of the error