Commit 7782d796 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Replace local InvalidMappingException class with the same class defined in the...

Replace local InvalidMappingException class with the same class defined in the service utility library.
parent 4ec593d8
Pipeline #21260 passed with stage
in 1 minute and 50 seconds
......@@ -17,7 +17,7 @@
*/
package ch.memobase.mapping
import ch.memobase.mapping.exceptions.InvalidMappingException
import ch.memobase.exceptions.InvalidMappingException
import ch.memobase.mapping.fields.ConfigField
import ch.memobase.mapping.fields.ConstantField
import ch.memobase.mapping.fields.DirectMapField
......
......@@ -18,7 +18,7 @@
package ch.memobase.mapping
import ch.memobase.mapping.exceptions.InvalidMappingException
import ch.memobase.exceptions.InvalidMappingException
import ch.memobase.mapping.fields.DirectMapField
import ch.memobase.mapping.fields.FieldParsers
import ch.memobase.mapping.fields.SimpleAnnotationField
......
......@@ -18,7 +18,7 @@
package ch.memobase.mapping
import ch.memobase.mapping.exceptions.InvalidMappingException
import ch.memobase.exceptions.InvalidMappingException
import ch.memobase.settings.CustomEnvConfig
import ch.memobase.settings.MissingSettingException
import java.io.ByteArrayInputStream
......
/*
* mapper-service
* Copyright (C) 2020 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package ch.memobase.mapping.exceptions
class InvalidMappingException(message: String) : Exception(message)
......@@ -18,7 +18,7 @@
package ch.memobase.mapping.fields
import ch.memobase.mapping.exceptions.InvalidMappingException
import ch.memobase.exceptions.InvalidMappingException
import mapping.fields.LanguagePair
@Suppress("UNCHECKED_CAST")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment