destroyedException
@JvmStatic
@JvmOverloads
Creates an IllegalStateException with a default message of
{this::class.simpleName}.isDestroyed[true]Content copied to clipboard
If simpleName returns null (e.g. Anonymous Object), then a default of UnknownClass will be used.
Parameters
namePrefix
if not empty, message will be prefixed with the declared namePrefix and a . character.