This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any tips for memorizing all exceptions supported in CLDC 1.1?

 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm willing to memorizing the exceptions available in CLDC 1.1, which were derived from the J2SE class library... I have successfully memorized the rest of the classes that were derived from the J2SE class library...

Help please...
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no magic.

The only way is to memerize them one by one.

Nick
 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we have to memorize all of them as well as all the scenarios when they will be thrown?

Well, I will follow the Sathya's notes - category by category.

How about other APIs, like all the UI - low-level and high-level, RMS, MMAPI and WAPI?
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nicholas Cheung:
There is no magic.

The only way is to memerize them one by one.

Nick



It's a lot!!!
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here are some tips that generally helped me to remember exceptions.

1. Write a couple of programs that has code that would throw the exceptions you want to remember. For example, if you want to remember exceptions in RMS, write a simple record storage program - like Top 10 scores. Once you actually implement a program, you will automatically understand why and where the exceptions are thrown. After that, you won't forget it.

2. Understand the hierarchy of exceptions. For example, in RMS, all exceptions are sub-exceptions of the RecordStoreException.

3. Read the details about some special exceptions. Typically, this is what the exam will concentrate on. An example would be the ConnectionNotFoundException, which is thrown if the a protocol is not supported.

Just memorizing all the exceptions will typically not help in the long run. If you memorize things without understanding why they are there in the first place, you will tend to forget them fairly quickly. Following steps 1&2 will created associations in your brain that will last longer.

Best Wishes for the exam.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic