# com.beasys.commerce.ebusiness.payment
ServiceUnavailableException Class

public class ServiceUnavailableException
extends `PaymentException`

Represents the condition when the link to the service provider is not available. In this situation, the transaction gets logged by the system and the user is notified

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `PaymentException`
  `ServiceUnavailableException`

All Implemented Interfaces
  `MessageCatalogException`, `Serializable`

## Field Summary

Fields from com.beasys.commerce.foundation.exception`.`ApplicationException``
``embeddedException`, `logMessages`, `userMessages``

## Constructor Summary

ServiceUnavailableException(`String` namespace, `String` messageKey, `TransactionResponse` response) Create a ServiceUnavailableException with the response object.
ServiceUnavailableException(`String` namespace, `String` messageKey) Create a ServiceUnavailableException with namespace and messageKey.

## Method Summary

Methods from `com.beasys.commerce.ebusiness.payment.`PaymentException``
``getResponse``

Methods from `com.beasys.commerce.foundation.exception.`ApplicationException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLocalizedMessage`, `getLogMessage`, `getLogMessages`, `getMessage`, `getUserMessage`, `getUserMessages`, `toString``

Methods from `java.lang.`Throwable``
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.beasys.commerce.foundation.exception.`MessageCatalogException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLogMessage`, `getLogMessages`, `getUserMessage`, `getUserMessages``

## Constructor Detail

### ServiceUnavailableException

    public ServiceUnavailableException(String namespace,
                                       String messageKey,
                                       TransactionResponse response)

  Create a ServiceUnavailableException with the response object.

### ServiceUnavailableException

    public ServiceUnavailableException(String namespace,
                                       String messageKey)

  Create a ServiceUnavailableException with namespace and messageKey.