I am getting a strange runtime error from my code:
\"Found interface [SomeInterface] but class was expected\"
How can this happen? How can an i
It sounds like you did
class MyClass extends SomeInterface
when it should actually be
class MyClass implements SomeInterface
Am I right?
EDIT: Oh, you say it's a runtime error and not a compile-time error? Let me look around a bit...
EDIT 2: It looks like Jared has the correct answer. Anyway, trying to extend an interface would actually give a "no interface expected here" message at compile time, not a "found interface but class was expected" error.