Search code examples
javaumljavadocclass-diagram

Java Exception class diagram ?


Hi I have a terrible memory and I wanted to print out class diagram of Java SE Exception Classes hang it on the wall or something I know I don't need to memorize it, It's just when you're designing a software or preparing for an exam it's good to have stuff like these around you.

I've googled most of the pictures aren't complete and are bad quality, So I was thinking of converting Javadocs to UML ? then print out the uml maybe

Can someone help me please ?


Solution

  • I can't remember all of them, either. When in eclipse I simply use the built-in functionality to display the hierarchy:

    • type F4 on a class definition and it displays the hierarchy
    • type Ctrl+Shift+H, enter the type you're looking for and press enter. Again, it shows you the hierarchy
    • after the hierarchy is available in "Hierarchy" view you can filter by e.g. using working sets.

    Not really the answer to your question, but this works fine for me and everyone I've talked to so far.

    BTW: Make a screenshot of the "Hierarchy" view and this is the answer to your question :-)