com.bankframe.util.exception
Class ExceptionUtils

java.lang.Object
  extended bycom.bankframe.util.exception.ExceptionUtils

public class ExceptionUtils
extends java.lang.Object

This class contains utility methods for wrapping a java.lang.Exception subclass in a com.bankframe.ejb.ProcessingErrorException


Method Summary
static ProcessingErrorException toProcessingErrorException(java.lang.Exception ex)
          This method converts the specifed exception class to a ProcessingErrorException
static ProcessingErrorException toProcessingErrorException(java.lang.Exception ex, java.util.Locale locale)
          This method converts the specifed exception class to a ProcessingErrorException
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toProcessingErrorException

public static ProcessingErrorException toProcessingErrorException(java.lang.Exception ex)
This method converts the specifed exception class to a ProcessingErrorException

Parameters:
ex - Exception to convert
Returns:
ProcessingErrorException

toProcessingErrorException

public static ProcessingErrorException toProcessingErrorException(java.lang.Exception ex,
                                                                  java.util.Locale locale)
This method converts the specifed exception class to a ProcessingErrorException

Parameters:
ex - Exception to convert
locale - Locale of the exception
Returns:
ProcessingErrorException


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