6.170 Forum
August 16, 2006, 04:52:01 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Remember: PS4 due 9pm Tuesday, 2006-03-14.
Home
Help
Search
Login
Register
6.170 Forum
>
General Category
>
General Discussion
>
Exceptions in Module Dependency Diagrams
Pages: [
1
]
« previous
next »
Print
Author
Topic: Exceptions in Module Dependency Diagrams (Read 340 times)
Advay Mengle
Full Member
Posts: 50
Exceptions in Module Dependency Diagrams
«
on:
April 03, 2006, 04:57:56 PM »
Should Exception classes be displayed in a Module Dependency Diagram?
Logged
-- Advay Mengle, '09
C. Scott Ananian (TA)
Administrator
Sr. Member
Posts: 126
Re: Exceptions in Module Dependency Diagrams
«
Reply #1 on:
April 21, 2006, 12:42:37 PM »
Generally your own exceptions might be interesting, but system exceptions are probably not. Remember, the primary purpose of an MDD is to communicate or discover something (usually a thesis related to the design of the system and coupling) -- you should include classes which are relevant to that thesis, and avoid cluttering it otherwise. For example, it's not very interesting to see in an MDD that every class depends (in some way) on Integer, because I can usually assume that java.lang.Integer is fixed and will not change (thus there is no point to removing or worrying about dependencies on it). On the other hand, if I were an engineer at Sun contemplating a potential change to java.lang.Integer, its presence in my MDD would be very important. Same goes for java.lang.Throwable, java.lang.Exception and the same reasoning for inclusion or exclusion applies to your own exception types.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Lectures and Recitations
-----------------------------
Java Questions
-----------------------------
=> Java in General
=> Eclipse
=> emacs
=> Java Generics
-----------------------------
Final Projects
-----------------------------
=> General Discussion
=> Team Building
=> Antichess
=> Gizmoball
-----------------------------
Problem Sets
-----------------------------
=> Problem Set 0
=> Problem Set 1
=> Problem Set 2
=> Problem Set 3
=> Problem Set 4
=> Problem Set 5
=> Problem Set 6