Revert "Use NETStandard 2.0"
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / dotnetcore / AddedException.cs
1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16
17 namespace System
18 {
19     public class ApplicationException : Exception
20     {
21         public ApplicationException()
22         {
23             new global::System.ApplicationException();
24         }
25
26         public ApplicationException(string message)
27         {
28             new global::System.ApplicationException(message);
29         }
30
31         public ApplicationException(string message, Exception innerException)
32         {
33             new global::System.ApplicationException(message, innerException);
34         }
35     }
36
37     public class SystemException : Exception
38     {
39         public SystemException()
40         {
41             new global::System.SystemException();
42         }
43
44         public SystemException(string message)
45         {
46             new global::System.SystemException(message);
47         }
48
49         public SystemException(string message, Exception innerException)
50         {
51             new global::System.SystemException(message, innerException);
52         }
53     }
54 }