| | | 1 | | /* |
| | | 2 | | * Copyright 2017 Stanislav Muhametsin. All rights Reserved. |
| | | 3 | | * |
| | | 4 | | * Licensed under the Apache License, Version 2.0 (the "License"); |
| | | 5 | | * you may not use this file except in compliance with the License. |
| | | 6 | | * You may obtain a copy of the License at |
| | | 7 | | * |
| | | 8 | | * http://www.apache.org/licenses/LICENSE-2.0 |
| | | 9 | | * |
| | | 10 | | * Unless required by applicable law or agreed to in writing, software |
| | | 11 | | * distributed under the License is distributed on an "AS IS" BASIS, |
| | | 12 | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| | | 13 | | * implied. |
| | | 14 | | * |
| | | 15 | | * See the License for the specific language governing permissions and |
| | | 16 | | * limitations under the License. |
| | | 17 | | */ |
| | | 18 | | using System; |
| | | 19 | | using System.Collections.Generic; |
| | | 20 | | using System.Linq; |
| | | 21 | | using System.Text; |
| | | 22 | | |
| | | 23 | | namespace CBAM.SQL |
| | | 24 | | { |
| | | 25 | | /// <summary> |
| | | 26 | | /// This class is common base class for all exceptions which signal some sort of SQL error in syntax or backend proce |
| | | 27 | | /// </summary> |
| | | 28 | | public class SQLException : Exception |
| | | 29 | | { |
| | | 30 | | /// <summary> |
| | | 31 | | /// Creates a new instance of <see cref="SQLException"/> with given message and optional inner exception. |
| | | 32 | | /// </summary> |
| | | 33 | | /// <param name="msg">The error message.</param> |
| | | 34 | | /// <param name="cause">The optional inner exception.</param> |
| | | 35 | | public SQLException( String msg, Exception cause = null ) |
| | 0 | 36 | | : base( msg, cause ) |
| | | 37 | | { |
| | | 38 | | |
| | 0 | 39 | | } |
| | | 40 | | } |
| | | 41 | | } |