• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change the classes?

 
Cathy Young
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we change DatabaseException.java?
Can we change the signature of lock(int) and unlock(int) by throwing exceptions?
Thanks!
--Cathy
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can, if you have a good reason to. Do you?
- Peter
 
Cathy Young
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Peter! Do you mean I have to reason it in my design.txt in order to avoid being penalized for these?
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that is my experience. You may still get penalized if the assessor thinks your reasoning is flawed, but if you can come up with good reasons there's nothing to worry about.
I've seen people do some truly bizarre things and pass...
- Peter
 
Cathy Young
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That helps a lot! Thanks, Peter!
--Cathy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic