----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I just cant look, its killing me.
Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Gabriel Vargas
SCJP, SCJD, now studying for SCWCD and working to be a better person
SCJP 1.4, SCJD, OCE EJBD 6
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
Originally posted by Hummel Lucy:
Hi,
I submitted my assignment on 15-May-07, my questionare was on 18-May-07, my result are published today ( 25-Jun-07)
Here my result:
Section Summary:
Section Max Actual Points
Points General Con: 100 92
Documentation: 70 70
OOD: 30 30
GUI: 40 28
Locking: 80 80
Data Store: 40 40
Network Server: 40 30
=====================
Total: 400 370
Thanks for the great discussions I had this time!
Br, Lucy
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
SCJP<br />SCJD
Originally posted by Lucy Hummel:
Hi Ken,
You are right, I might vanish from the forum and start to dig in a new forum to learn new/differnt stuff.
So you stated that your test stops, if an exception is thrown.
I do not see the point. Junit can handle exception for example
The above test case only passes if RecordNotFoundException. In all other cases the test case fails.
How looks your test case to test RecordNotfoundException?
Br, Lucy
method Update(recNo, cookie){
// check cookie is correct then check if record is still valid
try {
// now record is deleted by other client before this client gets the lock to update it
if (recNo == 1){
throw new RecordNotFoundException("error message");
}
} catch (RecordNotFoundException roe){
log.info(msg);
throw new RecordNotFoundException(msg);
// Lucy what you do here log the exeception or re throw it
// since it is business level exception not going to stop application
}
}
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|