All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.pocketbyte.locolaser.exception.InvalidConfigException.kt Maven / Gradle / Ivy

/*
 * Copyright © 2017 Denis Shurygin. All rights reserved.
 * Licensed under the Apache License, Version 2.0
 */

package ru.pocketbyte.locolaser.exception

/**
 * @author Denis Shurygin
 */
class InvalidConfigException @JvmOverloads constructor(
        message: String? = null
) : Exception(if (message != null) "$DEFAULT_MESSAGE $message" else DEFAULT_MESSAGE) {
    companion object {
        private const val DEFAULT_MESSAGE = "Invalid Config!"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy