That piece of code doesn't make sense at all. If you want to define your own
Exception you just extend from the Exception class or the RuntimeExceptio n
class which both extend from the Throwable class. Check the API documents
for those classes and please don't try to guess what the syntax would or should
be for the Java language. My guess is that you either forgot a lot about Java or
you haven't studied Java much at all before.
kind regards,
Jos
Exception you just extend from the Exception class or the RuntimeExceptio n
class which both extend from the Throwable class. Check the API documents
for those classes and please don't try to guess what the syntax would or should
be for the Java language. My guess is that you either forgot a lot about Java or
you haven't studied Java much at all before.
kind regards,
Jos
Comment