{
get
{
- Log.Info(PlayerLog.Tag, "get display : " + _display.Type);
return _display;
}
set
if (!File.Exists(path))
{
- throw new ArgumentException($"The specified file does not exist : { path }.");
+ throw new FileNotFoundException($"The specified file does not exist : { path }.");
}
PlayerErrorConverter.ThrowIfError(Interop.Player.SetSubtitlePath(_handle, path),
* limitations under the License.
*/
using System;
+using System.IO;
using Tizen.Internals.Errors;
namespace Tizen.Multimedia
{
case PlayerErrorCode.InvalidArgument:
case PlayerErrorCode.InvalidUri:
- case PlayerErrorCode.NoSuchFile:
throw new ArgumentException(msg);
+ case PlayerErrorCode.NoSuchFile:
+ throw new FileNotFoundException(msg);
case PlayerErrorCode.OutOfMemory:
case PlayerErrorCode.NoSpaceOnDevice: