com.bankframe.ei.txnhandler
Class HostProcessingErrorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.bankframe.localization.BankFrameException
              extended bycom.bankframe.EonException
                  extended bycom.bankframe.ejb.ProcessingErrorException
                      extended bycom.bankframe.ei.txnhandler.HostProcessingErrorException
All Implemented Interfaces:
java.io.Serializable

public class HostProcessingErrorException
extends ProcessingErrorException

This exception class is used by BankFrame Banking Processes to report a general error condition that occurs during processing. Generally a BankFrameMessage object should be part of this exception. This will point the the error message in the localized error message file.

Author:
ETU
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.EonException
DEBUG
 
Fields inherited from class com.bankframe.localization.BankFrameException
CHAINED_EXCEPTION_DIVIDER, CHAINED_JAVA_EXCEPTION_MSG, EXCEPTION_CLASS_NAME, EXCEPTION_NAME
 
Constructor Summary
HostProcessingErrorException(BankFrameMessage msg)
          This constructor creates a ProcessingErrorException with the specified message.
HostProcessingErrorException(BankFrameMessage message, java.lang.Throwable cause)
          Constructor

NOTE: The detail message associated with cause is not automatically incorporated in this exception's detail message.
HostProcessingErrorException(int errorNumber)
          This constructor creates a processing error exception given an error number.
HostProcessingErrorException(int errorNumber, java.util.Locale locale)
          Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead.
HostProcessingErrorException(int errorNumber, java.lang.String[] parameters)
          Deprecated. use ProcessingErrorException(BankFrameMessage msg, String[] parameters) instead.
HostProcessingErrorException(int errorNumber, java.lang.String[] parameters, java.util.Locale locale)
          Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead.
HostProcessingErrorException(java.lang.Throwable cause)
          This constructor creates a chained exception.
 
Method Summary
 DataPacket toDataPacket()
          This method returns a data packet that represents this exception.
 
Methods inherited from class com.bankframe.EonException
fromEonException, fromException, getMessage
 
Methods inherited from class com.bankframe.localization.BankFrameException
getBankFrameMessage, getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostProcessingErrorException

public HostProcessingErrorException(int errorNumber)
This constructor creates a processing error exception given an error number. This constructor will be deprecated in a future release of BankFrame MCA. Use ProcessingErrorException(BankFrameMessage msg) instead.

Parameters:
errorNumber - the error number, which is a key into the messages file.

HostProcessingErrorException

public HostProcessingErrorException(int errorNumber,
                                    java.lang.String[] parameters)
Deprecated. use ProcessingErrorException(BankFrameMessage msg, String[] parameters) instead.

This constructor creates a processing error exception with a given error number and parameters for the error message. This constructor will be deprecated in a future release of BankFrame MCA. Use ProcessingErrorException(BankFrameMessage msg) instead.

Parameters:
errorNumber - Error number is a key into the messages file.

HostProcessingErrorException

public HostProcessingErrorException(int errorNumber,
                                    java.lang.String[] parameters,
                                    java.util.Locale locale)
Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead.

This constructor creates a processing error exception given an error number and parameters for the error message, in a given locale.

Parameters:
errorNumber - Error number is a key into the messages file.
parameters - Array of parameters to be substituted into the error message
locale - The locale to use for localizing the error message

HostProcessingErrorException

public HostProcessingErrorException(int errorNumber,
                                    java.util.Locale locale)
Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead.

This constructor creates a processing error exception given an error number.

Parameters:
errorNumber - Error number is a key into the messages file.
locale - The locale to use for localizing the error message.

HostProcessingErrorException

public HostProcessingErrorException(BankFrameMessage msg)
This constructor creates a ProcessingErrorException with the specified message.

Parameters:
msg - The exception message.

HostProcessingErrorException

public HostProcessingErrorException(BankFrameMessage message,
                                    java.lang.Throwable cause)
Constructor

NOTE: The detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the error message for the exception
cause - the original cause of this ProcessingErrorException. must not be null.

HostProcessingErrorException

public HostProcessingErrorException(java.lang.Throwable cause)
This constructor creates a chained exception.

Parameters:
cause - The original cause of the exception. cause must not be null.
Method Detail

toDataPacket

public DataPacket toDataPacket()
This method returns a data packet that represents this exception. The DataPacket will have the name PROCESSING ERROR EXCEPTION.

Overrides:
toDataPacket in class ProcessingErrorException
Returns:
the DataPacket containing the processing error exception data.


Copyright © 2004 Siebel Systems, Inc. All rights reserved.