|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.FunctionalErrorTraceHelper
public class FunctionalErrorTraceHelper
This is a helper class used to separate functional error tracing code from the rest of the code.
Constructor Summary | |
---|---|
FunctionalErrorTraceHelper()
|
Method Summary | |
---|---|
static void |
ajaxOperationFailed(java.lang.Exception e,
Operation op)
Traces an error triggered when an AJAX operation generates an exception. |
static boolean |
checkPageAvailability(javax.servlet.Servlet reqServlet,
java.lang.String jspFullName)
Checks whether a JSP page exists, and traces an error if it does not. |
static void |
destinationDataNotFoundWhileMapping(java.lang.Exception e,
Context toCtx,
java.lang.String toExpr)
Traces an error triggered when a mapping fails because the mapping target is not found. |
static void |
expressionMappingFailed(javax.script.ScriptException e,
java.lang.String expression)
Traces an error triggered when an expression in the mapping source fails during evaluation |
static void |
flowNotFound(java.lang.Exception e,
java.lang.String flowName)
Traces an error triggered when a flow cannot be instantiated from its id |
static java.lang.String[] |
getMessagesForException(java.lang.Throwable t)
Returns zero or more error messages associated to a given exception. |
static void |
incompatibleTypeMapping(java.lang.Exception e,
DataElement fromDataElement,
DataElement toDataElement)
Traces an error triggered when mapping between incompatible types. |
static void |
missingFieldOnPagePost(java.lang.Exception e,
Processor proc,
DataElement data)
|
static void |
missingTransition(java.lang.Exception e,
Processor proc,
java.lang.String eventName)
Traces an error triggered when an event is generated at a state that has no associated transition for it. |
static void |
operationFailed(java.lang.Exception e,
Operation op)
Traces an error triggered when an operation throws an exception during its execution. |
static void |
operationNotFound(java.lang.Exception e,
java.lang.String operationName)
Traces an error triggered when an operation cannot be instantiated from its id |
static void |
refDataNotFound(java.lang.Exception e,
Tag parentTag,
java.lang.String tagId,
java.lang.String xmlFile)
Traces an error triggered when a refData element references a non-existing data element. |
static void |
viewRenderFailed(java.lang.Exception e,
java.lang.String replyPageName)
Traces an error triggered when a view fails to render. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionalErrorTraceHelper()
Method Detail |
---|
public static void flowNotFound(java.lang.Exception e, java.lang.String flowName)
e
- originating exceptionflowName
- the id of the flow that could not be instantiatedpublic static void operationNotFound(java.lang.Exception e, java.lang.String operationName)
e
- originating exceptionoperationName
- the id of the operation that could not be instantiatedpublic static boolean checkPageAvailability(javax.servlet.Servlet reqServlet, java.lang.String jspFullName)
req
- the servlet request objectjspFullName
- the full JSP path
public static void viewRenderFailed(java.lang.Exception e, java.lang.String replyPageName)
e
- exception thrown while forwarding the pagereplyPageName
- the name of the JSPpublic static void operationFailed(java.lang.Exception e, Operation op)
e
- the exception thrown by the operationop
- the failing operationpublic static void missingTransition(java.lang.Exception e, Processor proc, java.lang.String eventName)
e
- the originating exceptionproc
- the processor instance that triggered the eventeventName
- the event idpublic static void destinationDataNotFoundWhileMapping(java.lang.Exception e, Context toCtx, java.lang.String toExpr)
e
- originating exceptiontoCtx
- the target contexttoExpr
- the target mapping expressionpublic static void incompatibleTypeMapping(java.lang.Exception e, DataElement fromDataElement, DataElement toDataElement)
e
- originating exceptionfromDataElement
- mapping source elementtoDataElement
- mapping destination elementpublic static void expressionMappingFailed(javax.script.ScriptException e, java.lang.String expression)
e
- expression
- public static void ajaxOperationFailed(java.lang.Exception e, Operation op)
e
- the exception thrown by the operationop
- the failing operationpublic static void refDataNotFound(java.lang.Exception e, Tag parentTag, java.lang.String tagId, java.lang.String xmlFile)
e
- the originating exceptionparentTag
- the refData tagtagId
- the refId valuexmlFile
- the id of the flow or operation containing the refData elementpublic static void missingFieldOnPagePost(java.lang.Exception e, Processor proc, DataElement data)
public static java.lang.String[] getMessagesForException(java.lang.Throwable t)
t
- the exception to retrieve the associated messages
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |