SaveData

open class SaveData : Exception

The SaveData is an Exception thrown when the workflow need to be stopped to save any data. This, usually, is at the first run of that workflow

Author

Tecknobit N7ghtm4r3

Constructors

Link copied to clipboard
constructor(message: T)
Constructs a new exception with the specified detail message.
constructor(message: T, cause: Throwable)
Constructs a new exception with the specified detail message and cause.
constructor(message: T, cause: Throwable, enableSuppression: Boolean, writableStackTrace: Boolean)
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.

Properties

Link copied to clipboard
private open var backtrace: Any
Link copied to clipboard
open val cause: Throwable
Link copied to clipboard
private val CAUSE_CAPTION: String = "Caused by: "
Link copied to clipboard
private open var depth: Int
Link copied to clipboard
private open var detailMessage: String
Link copied to clipboard
Link copied to clipboard
private val NULL_CAUSE_MESSAGE: String = "Cannot suppress a null exception."
Link copied to clipboard
private val savableContent: Any
savableContent the content that should be saved
Link copied to clipboard
private val SELF_SUPPRESSION_MESSAGE: String = "Self-suppression not permitted"
Link copied to clipboard
Link copied to clipboard
private val SUPPRESSED_CAPTION: String = "Suppressed: "
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
open fun <T> getSaveableContent(): T
Method to get savableContent instance No-any params required
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String