static void assertTrue ( boolean condition , String internalErrorMesg ) throws SFException { if ( ! condition ) { throw new SFException ( ErrorCode . INTERNAL_ERROR , internalErrorMesg ) ; } }
Assert the condition is true otherwise throw an internal error exception with the given message .