summaryrefslogtreecommitdiff
path: root/db-4.8.30/test/scr037/TestException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'db-4.8.30/test/scr037/TestException.cs')
-rw-r--r--db-4.8.30/test/scr037/TestException.cs49
1 files changed, 49 insertions, 0 deletions
diff --git a/db-4.8.30/test/scr037/TestException.cs b/db-4.8.30/test/scr037/TestException.cs
new file mode 100644
index 0000000..adf6e75
--- /dev/null
+++ b/db-4.8.30/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()
+ {
+ }
+ }
+}