catch (Exception ex)
{
_errorCode = ErrorCodes.SqlGeneralError;
CommonTools.vAddToLog(ex, _errorCode, _userID);
throw new JOVALException(_errorCode);
}
I use this peace of code to handle error to an custom exception called (JOVALException)
but when an exception is occurred it is open "No source available" page and telled me that is no the stack trace is empty
How could I solve this problem ?
Edit
public JOVALException(ErrorCodes _errCode, String _message = "")
{
ErrMessage = _message;
ErrCode = _errCode;
}
here is my constructor, How can modify it ?