public class ExceptionHelper
extends java.lang.Object
Constructor and Description |
---|
ExceptionHelper() |
Modifier and Type | Method and Description |
---|---|
static ECApplicationException | buildECApplicationExceptionFromBaseException(BaseException baseExc, java.lang.String sourceClassName, java.lang.String sourceMethodName)
This method builds an ECApplicationException object from a BaseException object.
|
static ECException | buildECException(BaseException e, java.lang.String sourceClassName, java.lang.String sourceMethodName)
This method returns the ECException object from the BaseException object.
|
static ECSystemException | buildECSystemExceptionFromBaseException(BaseException baseExc, java.lang.String sourceClassName, java.lang.String sourceMethodName)
This method builds an ECSystemException object from a BaseException object.
|
static boolean | isSystemException(BaseException e)
This method returns if the BaseException object is system level exception.
|
static void | setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName)
This method sets common properties of exception in Payment Rules/WebSphere Commerce Payments components.
|
static void | setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey)
This method sets common properties of exception in Payment Rules/WebSphere Commerce Payments components.
|
static void | setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey, java.lang.Object messageParameter)
This method sets common properties of exception in Payment Rules/WebSphere Commerce Payments components.
|
static void | setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey, java.lang.Object[] messageParameters)
This method sets common properties of exception in Payment Rules/WebSphere Commerce Payments components.
|
public static void setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey, java.lang.Object[] messageParameters)
public static void setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey, java.lang.Object messageParameter)
public static void setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName, java.lang.String messageKey)
public static void setCommonProperties(BaseException theException, java.lang.String className, java.lang.String methodName)
public static ECException buildECException(BaseException e, java.lang.String sourceClassName, java.lang.String sourceMethodName)
public static ECSystemException buildECSystemExceptionFromBaseException(BaseException baseExc, java.lang.String sourceClassName, java.lang.String sourceMethodName)
public static ECApplicationException buildECApplicationExceptionFromBaseException(BaseException baseExc, java.lang.String sourceClassName, java.lang.String sourceMethodName)
public static boolean isSystemException(BaseException e)