Thrown when class is instantiated using member factory function (neither static nor toplevel).

By: Lis
Since 0.7.1

no subtypes hierarchy

Initializer
MemberFactoryException(ClassDeclaration declaration, FunctionDeclaration factory)
Parameters:
  • declaration

    Declaration of the trying to instantiate class.

  • factory

    Factory function

Attributes
declarationshared ClassDeclaration declaration

Declaration of the trying to instantiate class.

factoryshared FunctionDeclaration factory

Factory function

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