ViewModelConstructorNotFoundException

class ViewModelConstructorNotFoundException(    viewModelClass: Class<*>,     args: Array<out Any>,     throwable: Throwable) : RuntimeException

Thrown when an application tries to create an instance of ViewModel class, but the specified class does not have the required constructor.

Parameters

viewModelClass

The reference of view model class.

args

The arguments expected in a constructor.

throwable

The original exception.

Constructors

Link copied to clipboard
fun ViewModelConstructorNotFoundException(    viewModelClass: Class<*>,     args: Array<out Any>,     throwable: Throwable)

Inherited properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Inherited functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)