Thrown when instantiated class has neither default constructor nor factory function.

By: Lis
Since 0.7.0

no subtypes hierarchy

Initializer
IncompatibleInstantiation(ClassDeclaration declaration)
Parameters:
  • declaration

    Declaration of the trying to instantiate class.

Attributes
declarationshared ClassDeclaration declaration

Declaration of the trying to instantiate class.

Inherited Attributes
Attributes inherited from: Object
hash, string
Attributes inherited from: Throwable
cause, message, string, suppressed
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: Throwable
addSuppressed, printStackTrace