com.ibm.etill.cashier
Class CashierException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          com.ibm.etill.cashier.CashierException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ProfileException

public class CashierException
extends java.lang.Exception

Thrown by the Cashier to indicate a setup/configuration error.

See Also:
Serialized Form

Constructor Summary
CashierException(java.lang.String message)
Constructs a new CashierException with the specified detail message and error code
CashierException(java.lang.String message, java.lang.Throwable nestedException)
Constructs a new CashierException with the specified detail message and nested Throwable object.
Method Summary
java.lang.Throwable getNestedException()
Returns the Throwable object which may be contained in this exception.
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

CashierException

public CashierException(java.lang.String message)
Constructs a new CashierException with the specified detail message and error code

CashierException

public CashierException(java.lang.String message,
                        java.lang.Throwable nestedException)
Constructs a new CashierException with the specified detail message and nested Throwable object.
Parameters:
nestedException - the Throwable object to store in this exception.
Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Returns the Throwable object which may be contained in this exception.
Returns:
the Throwable object

Feedback