﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	function	customer	blocking	blockedby	due_assign	due_close	complete	estimatedhours	revision_no	last_fixed	last_closed
25	Json サービスのアクセス URL で存在しないディレクトリを指定すると Internal Server Error が発生する	sarai		"存在しないディレクトリが指定されると、そのフォルダに対してファイル監視しようとして `DirectoryNotFoundException` 例外が発生しているよう。ファイル監視側で、存在しないフォルダに対応した方がいいかも。

それ以外でも、セキュリティ例外が発生した場合も同様な事態が起きそうな気がする。とにかく、正しい例外を返す。

{{{
FCSoft.SilverFrost.Framework.Web.Service Error: 22001 : Failed to load the json service file.
Path: C:\Projects\XXX\~\Services\Conversation.json
Exception: System.IO.DirectoryNotFoundException: パス 'C:\Projects\XXX\~\Services\Conversation.json' の一部が見つかりませんでした。
   場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   場所 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   場所 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   場所 FCSoft.SilverFrost.Framework.Xml.XmlBeanManager.Load[T](String path, Type type, XmlBeanReaderSettings settings, IEnumerable`1 schemaEntries)
   場所 FCSoft.SilverFrost.Framework.Xml.XmlBeanManager.Load[T](String path, XmlBeanReaderSettings settings, IEnumerable`1 schemaEntries)
   場所 FCSoft.SilverFrost.Framework.Xml.XmlBeanManager.Load[T](String path, IEnumerable`1 schemaEntries)
   場所 FCSoft.SilverFrost.Framework.Web.Handlers.JsonServiceManager.<.cctor>b__0(String key)
    ProcessId=5968
    ThreadId=5
    DateTime=2010-12-15T07:29:08.9490000Z
FCSoft.SilverFrost.Framework.Web.Configuration Error: 11001 : Cannot register path ""System.ArgumentException: ディレクトリ名 C:\Projects\XXX\~\Services が無効です。
   場所 System.IO.FileSystemWatcher..ctor(String path, String filter)
   場所 FCSoft.SilverFrost.Framework.IO.BasicFileStateMonitor.MonitoredFolder..ctor(BasicFileStateMonitor monitor, String folder)
   場所 FCSoft.SilverFrost.Framework.IO.BasicFileStateMonitor.RegisterPath(String path)
   場所 FCSoft.SilverFrost.Framework.IO.FileStateMonitor.Register(String path, MonitoredFileCallback callback)
   場所 FCSoft.SilverFrost.Framework.Web.Configuration.WebXmlBeanManager`1.Create(String key)"" to monitor.
}}}"	不具合	new	中		Framework														
