Problem:
Making a call to the interface constructor in JavaScript without prefixing it with the new
keyword would abruptly crash the app without a stack trace or an exception message.
let r = java.lang.Runnable({ run: () => { }});
Solution:
Handle incorrect calls to interface constructors and throw a nativescript exception object with the appropriate message.