About Question enthuware.ocajp.i.v7.2.1049 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ETS User

About Question enthuware.ocajp.i.v7.2.1049 :

Post by ETS User »

Hello folks,

The question text seems confusing to me. It states:

Code: Select all

Consider... exception hierarchy derived from java.lang.Exception as follows:
java.lang.ChannelException
              +-- enthu.trans.DataFloodingException, 
                      enthu.trans.FrameCollisionException
Technically this is okay, but mentioning of "java.lang.ChannelException" may be invoking unnecessary doubts. Perhaps, you wanted to build a four-tier hierarchy like "java.lang.Exception -> enthu.trans.ChannelException ->..." ?

Or it may be an intended trick, I don't know. :-)

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1049 :

Post by admin »

You are right. The package java.lang for a custom exception is not a good idea. It should be changed asap.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests