com.google.checkout.handlers
Class CheckoutHandlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.checkout.CheckoutException
              extended by com.google.checkout.handlers.CheckoutHandlerException
All Implemented Interfaces:
java.io.Serializable

public class CheckoutHandlerException
extends CheckoutException

Author:
Charles Dang (cdang@google.com)
See Also:
Serialized Form

Constructor Summary
CheckoutHandlerException()
          Creates a new instance of CheckoutHandlerException without detail message.
CheckoutHandlerException(java.lang.Exception e)
          Constructs an instance of CheckoutHandlerException with the specified nested exception
CheckoutHandlerException(int errorCode)
           
CheckoutHandlerException(java.lang.String msg)
          Constructs an instance of CheckoutHandlerException with the specified detail message.
CheckoutHandlerException(java.lang.String msg, java.lang.Exception e)
          Constructs an instance of CheckoutHandlerException with the specified detail message.
 
Method Summary
 int getErrorCode()
          Constructs an instance of CheckoutHandlerException with the specified error code.
 
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

CheckoutHandlerException

public CheckoutHandlerException()
Creates a new instance of CheckoutHandlerException without detail message.


CheckoutHandlerException

public CheckoutHandlerException(java.lang.String msg)
Constructs an instance of CheckoutHandlerException with the specified detail message.

Parameters:
msg - The detail message.

CheckoutHandlerException

public CheckoutHandlerException(int errorCode)
Parameters:
errorCode -

CheckoutHandlerException

public CheckoutHandlerException(java.lang.Exception e)
Constructs an instance of CheckoutHandlerException with the specified nested exception

Parameters:
e - The nested exception

CheckoutHandlerException

public CheckoutHandlerException(java.lang.String msg,
                                java.lang.Exception e)
Constructs an instance of CheckoutHandlerException with the specified detail message.

Parameters:
msg - The detail message.
e - The nested exception
Method Detail

getErrorCode

public int getErrorCode()
Constructs an instance of CheckoutHandlerException with the specified error code.

Returns:
The error code associated with this exception