public void logError(String pMessage,
                         Throwable pRootCause)
            throws ELException {
        if (isLoggingError()) {
            if (pMessage == null) {
                throw new ELException(pRootCause);
            } else if (pRootCause == null) {
                throw new ELException(pMessage);
            } else {
                throw new ELException(pMessage, pRootCause);
            }
        }
    }
public void logError ( String pMessage , Throwable pRootCause ) throws ELException { if ( isLoggingError ( ) ) { if ( pMessage == null ) { throw new ELException ( pRootCause ) ; } else if ( pRootCause == null ) { throw new ELException ( pMessage ) ; } else { throw new ELException ( pMessage , pRootCause ) ; } } }
Logs an error