com.ibm.etill.framework.clientapi
Class PaymentServerAuthorizationException

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

public class PaymentServerAuthorizationException
extends java.lang.Exception

This exception is thrown when the command to Commerce Payments is rejected with HTTP 401, Not authorized. It generally indicates either:

. The merchant programmer provided an incorrect user/password

. The user has not been properly configured within WebSphere

See Also:
Serialized Form

Constructor Summary
PaymentServerAuthorizationException(byte[] pmAuthObject)
PaymentServerAuthorizationException(java.lang.String userid)
Creates a PaymentServerAuthorizationException object.
Method Summary
java.lang.String getUserID()
Returns the name of the user who failed to be authorized.
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

PaymentServerAuthorizationException

public PaymentServerAuthorizationException(java.lang.String userid)
Creates a PaymentServerAuthorizationException object.
Parameters:
userid - -- the name of the user who failed to be authorized.

PaymentServerAuthorizationException

public PaymentServerAuthorizationException(byte[] pmAuthObject)
Method Detail

getUserID

public java.lang.String getUserID()
Returns the name of the user who failed to be authorized.
Returns:
userid -- the name of the user who failed to be authorized.

Feedback