|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.util.exception.ExceptionUtils
public class ExceptionUtils
This class contains utility methods for wrapping a java.lang.Exception subclass in a com.bankframe.ejb.ProcessingErrorException
Method Summary | |
---|---|
static ProcessingErrorException |
toProcessingErrorException(Exception ex)
This method converts the specifed exception class to a ProcessingErrorException |
static ProcessingErrorException |
toProcessingErrorException(Exception ex,
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 |
---|
public static ProcessingErrorException toProcessingErrorException(Exception ex)
ex
- Exception to convert
public static ProcessingErrorException toProcessingErrorException(Exception ex, Locale locale)
ex
- Exception to convertlocale
- Locale of the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |