summaryrefslogtreecommitdiff
path: root/test/scr037/TestException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'test/scr037/TestException.cs')
-rw-r--r--test/scr037/TestException.cs49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/scr037/TestException.cs b/test/scr037/TestException.cs
new file mode 100644
index 0000000..adf6e75
--- /dev/null
+++ b/test/scr037/TestException.cs
@@ -0,0 +1,49 @@
+/*-
+ * See the file LICENSE for redistribution information.
+ *
+ * Copyright (c) 2009 Oracle. All rights reserved.
+ *
+ */
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace CsharpAPITest
+{
+
+ public class TestException : ApplicationException
+ {
+ public TestException(string name)
+ : base(name)
+ {
+ }
+
+ public TestException() : base()
+ {
+ }
+ }
+
+ public class ConfigNotFoundException : TestException
+ {
+ public ConfigNotFoundException(string name)
+ : base(name)
+ {
+ }
+ }
+
+ public class InvalidConfigException : TestException
+ {
+ public InvalidConfigException(string name)
+ : base(name)
+ {
+ }
+ }
+
+ public class ExpectedTestException : TestException
+ {
+ public ExpectedTestException()
+ : base()
+ {
+ }
+ }
+}