| 1 | /** |
|---|---|
| 2 | * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | * or more contributor license agreements. See the NOTICE file |
| 4 | * distributed with this work for additional information |
| 5 | * regarding copyright ownership. The ASF licenses this file |
| 6 | * to you under the Apache License, Version 2.0 (the |
| 7 | * "License"); you may not use this file except in compliance |
| 8 | * with the License. You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | #include "orc/Exceptions.hh" |
| 20 | |
| 21 | namespace orc { |
| 22 | |
| 23 | NotImplementedYet::NotImplementedYet(const std::string& what_arg |
| 24 | ) : logic_error(what_arg) { |
| 25 | // PASS |
| 26 | } |
| 27 | |
| 28 | NotImplementedYet::NotImplementedYet(const char* what_arg |
| 29 | ) :logic_error(what_arg) { |
| 30 | // PASS |
| 31 | } |
| 32 | |
| 33 | NotImplementedYet::NotImplementedYet(const NotImplementedYet& error |
| 34 | ): logic_error(error) { |
| 35 | // PASS |
| 36 | } |
| 37 | |
| 38 | NotImplementedYet::~NotImplementedYet() noexcept { |
| 39 | // PASS |
| 40 | } |
| 41 | |
| 42 | ParseError::ParseError(const std::string& what_arg |
| 43 | ): runtime_error(what_arg) { |
| 44 | // PASS |
| 45 | } |
| 46 | |
| 47 | ParseError::ParseError(const char* what_arg |
| 48 | ): runtime_error(what_arg) { |
| 49 | // PASS |
| 50 | } |
| 51 | |
| 52 | ParseError::ParseError(const ParseError& error): runtime_error(error) { |
| 53 | // PASS |
| 54 | } |
| 55 | |
| 56 | ParseError::~ParseError() noexcept { |
| 57 | // PASS |
| 58 | } |
| 59 | |
| 60 | InvalidArgument::InvalidArgument(const std::string& what_arg |
| 61 | ): runtime_error(what_arg) { |
| 62 | // PASS |
| 63 | } |
| 64 | |
| 65 | InvalidArgument::InvalidArgument(const char* what_arg |
| 66 | ): runtime_error(what_arg) { |
| 67 | // PASS |
| 68 | } |
| 69 | |
| 70 | InvalidArgument::InvalidArgument(const InvalidArgument& error |
| 71 | ): runtime_error(error) { |
| 72 | // PASS |
| 73 | } |
| 74 | |
| 75 | InvalidArgument::~InvalidArgument() noexcept { |
| 76 | // PASS |
| 77 | } |
| 78 | } |
| 79 |