Re: question about homework2


Subject: Re: question about homework2
From: Karl Lieberherr (lieber@ccs.neu.edu)
Date: Mon Jan 21 2002 - 16:41:44 EST


Hi Yi:

it should throw a run-time
exception that prints the desired error message:

e.g.,: throw new RuntimeException("UserId incorrect!");

Or maybe you have a better approach.

-- Karl

>From qianyi2000@hotmail.com Mon Jan 21 15:46:20 2002
>
>Hi professor Lieberherr,
>
>I have a question about part 2 of homewor2. Should the aspect only print
>those error messages, or Should it also
>avoid the Exceptions caused by those errors?
>
>Thanks
>Yi
>



This archive was generated by hypermail 2b28 : Mon Jan 21 2002 - 16:41:45 EST