コード例 #1
0
ファイル: Exception.cs プロジェクト: higankanshi/xZune.Bass
 /// <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)
 {
 }
コード例 #2
0
ファイル: Exception.cs プロジェクト: higankanshi/xZune.Bass
 /// <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;
 }