view src/main/kotlin/name/blackcap/passman/MessagedException.kt @ 26:69526ae8c8de

Allow list --name to be abbreviated -n, since it is so commonly used.
author David Barts <n5jrn@me.com>
date Fri, 05 Jul 2024 10:11:31 -0700
parents ea65ab890f66
children
line wrap: on
line source

package name.blackcap.passman

// Exception that always has a non-null message.
open class MessagedException(_message: String, _cause: Throwable? = null) : Exception(_message, _cause) {
    override val message = _message
}