<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _raiseValidationException(standardExcMsg, customExcMsg=None):
 """Raise ValidationException with standardExcMsg, unless customExcMsg is specified."""

    if customExcMsg is None:
        raise ValidationException(str(standardExcMsg))
    else:
        raise ValidationException(str(customExcMsg))