io.github.molumn.catrix.common.exceptions.CatrixIntentionalException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catrix-api Show documentation
Show all versions of catrix-api Show documentation
Kotlin/JVM library for terminal command development
package io.github.molumn.catrix.common.exceptions
class CatrixIntentionalException : Exception {
enum class Type {
NONE,
ILLEGAL_ACCESS,
}
private val type: Type
constructor(type: Type = Type.NONE) : super("") {
this.type = type
}
constructor(message: String = "", type: Type = Type.NONE) : super(message) {
this.type = type
}
constructor(message: String, type: Type, cause: Throwable) : super(message, cause) {
this.type = type
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy