public static void tracePreInvokeException ( EJSDeployedSupport s , EJSWrapperBase wrapper , Throwable t ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { StringBuffer sbuf = new StringBuffer ( ) ; sbuf . append ( MthdPreInvokeException_Type_Str ) . append ( DataDelimiter ) . append ( MthdPreInvokeException_Type ) . append ( DataDelimiter ) ; writeDeployedSupportInfo ( s , sbuf , wrapper , t ) ; Tr . debug ( tc , sbuf . toString ( ) ) ; } }
This is called by the EJB container server code to write a EJB method call preinvoke exceptions record to the trace log if enabled .