src/Exception/IdsExceptionManager.php
public static function HandleException($errorMessage=null, $errorCode=null, $source=null, $innerException=null)
    {
        $message = implode(", ", array($errorMessage, $errorCode, $source));
        throw new IdsException($message);
    }
public static function HandleException($errorMessage=null, $errorCode=null, $source=null, $innerException=null)
    {
        $message = implode(", ", array($errorMessage, $errorCode, $source));
        throw new IdsException($message);
    }
Handles Exception thrown to the user.
@param string errorMessage Error Message
@param string errorCode Error Code.
@param string source Source of the exception.
@param IdsException innerException Ids Exception