/// <summary> /// Create a <see cref="FunctionNotFoundException" /> with function's information. /// </summary> /// <param name="functionInfo">information of function</param> public FunctionNotFoundException(BassFunctionAttribute functionInfo) : this(functionInfo, null) { }
/// <summary> /// Create a <see cref="FunctionNotFoundException" /> with function's information and a inner exception. /// </summary> /// <param name="functionInfo">information of function</param> /// <param name="innerException">inner exception</param> public FunctionNotFoundException(BassFunctionAttribute functionInfo, Exception innerException) : base(String.Format("Can't find function \"{0}\" in Bass DLL.", functionInfo.FunctionName), innerException) { FunctionInfomation = functionInfo; }