You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cs310_s12
Hi,
I'm wondering if I can get some help on the "HasCycleException" part
of pa5. I'm not sure how to make this work in the way that we're
supposed to. I understand what to do if I was allowed to put something
in the code like:
"if (topSorted.size()< vertexes.size())
throw new HasCycleException();"
but I don't know how to do it when "throws HasCycleException" is part
of the method declaration.
I'm wondering if there's something I can read to instruct me how to do
this. The book wasn't helpful.
Betty O'Neil
unread,
Apr 23, 2012, 10:01:43 AM4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dana Hurlbut, cs310_s12
This sort of code is fine, fits with the method declaration.--Betty O.
Dana Hurlbut
unread,
Apr 23, 2012, 12:46:46 PM4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message