diff --git a/reader/src/main/scala/za/co/absa/atum/reader/exceptions/ReaderException.scala b/reader/src/main/scala/za/co/absa/atum/reader/exceptions/ReaderException.scala deleted file mode 100644 index 5ec9b921..00000000 --- a/reader/src/main/scala/za/co/absa/atum/reader/exceptions/ReaderException.scala +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2021 ABSA Group Limited - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package za.co.absa.atum.reader.exceptions - -abstract class ReaderException(message: String) extends Exception(message) diff --git a/reader/src/main/scala/za/co/absa/atum/reader/exceptions/RequestException.scala b/reader/src/main/scala/za/co/absa/atum/reader/exceptions/RequestException.scala deleted file mode 100644 index af33dbca..00000000 --- a/reader/src/main/scala/za/co/absa/atum/reader/exceptions/RequestException.scala +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2021 ABSA Group Limited - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package za.co.absa.atum.reader.exceptions - -import sttp.model.{RequestMetadata, StatusCode} - -case class RequestException ( - message: String, - responseBody: String, - statusCode: StatusCode, - request: RequestMetadata) - extends ReaderException(message)