Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Tue Oct 2 2001 10:52 am
Author: Douglas, Keith <kdouglas@andrew.cmu.edu>
Subject: How does exception handling work?

I am implementing a priority queue to help with the huffman encoding, and our text's source uses an exception of "Overflow" to this end.

The compiler doesn't seem to know about this ... what does one have to do to implement this?

(I can do it "C style" and just print an error manually and abort, but ... that's not the java way...)

Post response

There are no previous messagesGo to the following message
Current Thread Detail:
How does exception handling work?      Douglas, Keith      Tue Oct 2 2001 10:52 am       
Re: How does exception handling work?      Lee, Peter      Tue Oct 2 2001 11:34 am       
Re: How does exception handling work?      White, David      Fri Oct 5 2001 8:56 am       

Back to previous screen