OnException
(
Exception oException,
ErrorCode eErrorCode,
String sErrorMessage
)
{
Debug.Assert(oException != null);
Debug.Assert( !String.IsNullOrEmpty(sErrorMessage) );
throw new ConvertGraphMLToNodeXLWorkbookException(eErrorCode,
String.Format(
"{0} Details:"
+ "\r\n\r\n"
+ "{1}."
,
sErrorMessage,
oException.Message
) );
}
}