com.ibm.etill.framework.clientapi
Class PaymentServerCommunicationException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          com.ibm.etill.framework.clientapi.PaymentServerCommunicationException
All Implemented Interfaces:
java.io.Serializable

public class PaymentServerCommunicationException
extends java.lang.Exception

This exception is thrown when CAL is having trouble communicating with Commerce Payments. This exception can mean:

See Also:
Serialized Form

Constructor Summary
PaymentServerCommunicationException(java.io.IOException ioException)
Creates a PaymentServerCommunicationException object.
PaymentServerCommunicationException(java.lang.String httpResponseCode)
Creates a PaymentServerCommunicationException object.
Method Summary
java.lang.String getHTTPResponseCode()
Returns HTTP response code from the webserver.
java.io.IOException getIOException()
Returns ioException object taken by CAL.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

PaymentServerCommunicationException

public PaymentServerCommunicationException(java.io.IOException ioException)
Creates a PaymentServerCommunicationException object.
Parameters:
ioException - -- the io exception which CAL is taken.

PaymentServerCommunicationException

public PaymentServerCommunicationException(java.lang.String httpResponseCode)
Creates a PaymentServerCommunicationException object.
Parameters:
httpResponseCode - -- response code from the HTTP server.
Method Detail

getIOException

public java.io.IOException getIOException()
Returns ioException object taken by CAL.
Returns:
ioException object taken by CAL.

getHTTPResponseCode

public java.lang.String getHTTPResponseCode()
Returns HTTP response code from the webserver.
Returns:
httpResponseCode -- response code from the webserver.

Feedback