diff options
Diffstat (limited to 'OpenSim/Grid/ScriptServer/Application.cs')
-rw-r--r-- | OpenSim/Grid/ScriptServer/Application.cs | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/OpenSim/Grid/ScriptServer/Application.cs b/OpenSim/Grid/ScriptServer/Application.cs index 780f037..7fc9a53 100644 --- a/OpenSim/Grid/ScriptServer/Application.cs +++ b/OpenSim/Grid/ScriptServer/Application.cs | |||
@@ -24,35 +24,35 @@ | |||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | 31 | ||
32 | namespace OpenSim.Grid.ScriptServer | 32 | namespace OpenSim.Grid.ScriptServer |
33 | { | 33 | { |
34 | class OpenScript_Main | 34 | class OpenScript_Main |
35 | { | 35 | { |
36 | 36 | ||
37 | public static ScriptServerMain SE; | 37 | public static ScriptServerMain SE; |
38 | 38 | ||
39 | static void Main(string[] args) | 39 | static void Main(string[] args) |
40 | { | 40 | { |
41 | // Application is starting | 41 | // Application is starting |
42 | SE = new ScriptServerMain(); | 42 | SE = new ScriptServerMain(); |
43 | 43 | ||
44 | System.AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); | 44 | System.AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); |
45 | } | 45 | } |
46 | 46 | ||
47 | static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) | 47 | static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) |
48 | { | 48 | { |
49 | Console.WriteLine(""); | 49 | Console.WriteLine(""); |
50 | Console.WriteLine("APPLICATION EXCEPTION DETECTED"); | 50 | Console.WriteLine("APPLICATION EXCEPTION DETECTED"); |
51 | Console.WriteLine(""); | 51 | Console.WriteLine(""); |
52 | Console.WriteLine("Application is terminating: " + e.IsTerminating.ToString()); | 52 | Console.WriteLine("Application is terminating: " + e.IsTerminating.ToString()); |
53 | Console.WriteLine("Exception:"); | 53 | Console.WriteLine("Exception:"); |
54 | Console.WriteLine(e.ExceptionObject.ToString()); | 54 | Console.WriteLine(e.ExceptionObject.ToString()); |
55 | } | 55 | } |
56 | 56 | ||
57 | } | 57 | } |
58 | } | 58 | } |